Sha256: cb5a3c20f6d5723e0625f6fc9f64db2618e4e95a291a7772287644e6f4b5cac1
Contents?: true
Size: 954 Bytes
Versions: 7
Compression:
Stored size: 954 Bytes
Contents
# frozen_string_literal: true module Playbook module PbPassphrase class Passphrase < Playbook::KitBase prop :average_threshold prop :confirmation, type: Playbook::Props::Boolean, default: false prop :input_props, type: Playbook::Props::Hash, default: {} prop :label prop :min_length prop :show_tips_below prop :strong_threshold prop :tips, type: Playbook::Props::Array, default: [] def classname generate_classname("pb_passphrase") end def passphrase_options { dark: dark, id: id, averageThreshold: average_threshold, confirmation: confirmation, inputProps: input_props, label: label, minLength: min_length, showTipsBelow: show_tips_below, strongThreshold: strong_threshold, tips: tips, uncontrolled: true, }.compact end end end end
Version data entries
7 entries across 7 versions & 1 rubygems