@bbl-digital/snorre 4.0.42 → 4.0.44
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/bundle.js +912 -419
- package/esm/core/Input/Input.stories.js +8 -0
- package/esm/core/Input/index.js +1 -1
- package/esm/core/Input/styles.js +18 -17
- package/esm/core/Stepper/MobileStep/index.js +34 -0
- package/esm/core/Stepper/MobileStep/styles.js +90 -0
- package/esm/core/Stepper/Step/index.js +84 -0
- package/esm/core/Stepper/Step/styles.js +49 -0
- package/esm/core/Stepper/Stepper.stories.js +29 -0
- package/esm/core/Stepper/index.js +49 -0
- package/esm/core/Stepper/styles.js +24 -0
- package/esm/illustrations/General/IllustrationBudget.js +186 -0
- package/esm/index.js +3 -2
- package/lib/core/Input/Input.stories.d.ts +1 -0
- package/lib/core/Input/Input.stories.d.ts.map +1 -1
- package/lib/core/Input/Input.stories.js +8 -0
- package/lib/core/Input/index.d.ts +1 -1
- package/lib/core/Input/index.d.ts.map +1 -1
- package/lib/core/Input/index.js +1 -1
- package/lib/core/Input/styles.d.ts +1 -0
- package/lib/core/Input/styles.d.ts.map +1 -1
- package/lib/core/Input/styles.js +18 -17
- package/lib/core/Stepper/MobileStep/index.d.ts +9 -0
- package/lib/core/Stepper/MobileStep/index.d.ts.map +1 -0
- package/lib/core/Stepper/MobileStep/index.js +34 -0
- package/lib/core/Stepper/MobileStep/styles.d.ts +32 -0
- package/lib/core/Stepper/MobileStep/styles.d.ts.map +1 -0
- package/lib/core/Stepper/MobileStep/styles.js +90 -0
- package/lib/core/Stepper/Step/index.d.ts +12 -0
- package/lib/core/Stepper/Step/index.d.ts.map +1 -0
- package/lib/core/Stepper/Step/index.js +84 -0
- package/lib/core/Stepper/Step/styles.d.ts +28 -0
- package/lib/core/Stepper/Step/styles.d.ts.map +1 -0
- package/lib/core/Stepper/Step/styles.js +49 -0
- package/lib/core/Stepper/Stepper.stories.d.ts +7 -0
- package/lib/core/Stepper/Stepper.stories.d.ts.map +1 -0
- package/lib/core/Stepper/Stepper.stories.js +29 -0
- package/lib/core/Stepper/index.d.ts +18 -0
- package/lib/core/Stepper/index.d.ts.map +1 -0
- package/lib/core/Stepper/index.js +49 -0
- package/lib/core/Stepper/styles.d.ts +14 -0
- package/lib/core/Stepper/styles.d.ts.map +1 -0
- package/lib/core/Stepper/styles.js +24 -0
- package/lib/illustrations/General/IllustrationBudget.d.ts +4 -0
- package/lib/illustrations/General/IllustrationBudget.d.ts.map +1 -0
- package/lib/illustrations/General/IllustrationBudget.js +186 -0
- package/lib/index.d.ts +3 -2
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +3 -2
- package/package.json +1 -1
- package/theme-bbls.js +2 -2
@@ -22,6 +22,14 @@ export const Focused = {
|
|
22
22
|
},
|
23
23
|
name: 'Focused'
|
24
24
|
};
|
25
|
+
export const Stealth = {
|
26
|
+
args: {
|
27
|
+
type: 'stealth',
|
28
|
+
label: 'Stealth',
|
29
|
+
placeholder: 'Placeholder text'
|
30
|
+
},
|
31
|
+
name: 'Stealth'
|
32
|
+
};
|
25
33
|
export const Disabled = {
|
26
34
|
args: {
|
27
35
|
type: 'text',
|
package/esm/core/Input/index.js
CHANGED
@@ -84,7 +84,7 @@ const Input = /*#__PURE__*/React.forwardRef(({
|
|
84
84
|
ref: ref,
|
85
85
|
name: props.name,
|
86
86
|
"aria-describedby": props.invalidMessage ? 'input-error-message' : undefined,
|
87
|
-
css: theme => [type === 'text' && styles.text(theme), type === 'search' && styles.search(theme), type === 'password' && styles.password(theme), type === 'number' && styles.number(theme), props.disabled && styles.disabled(theme), cardInput && styles.cardInput(theme)],
|
87
|
+
css: theme => [type === 'text' && styles.text(theme), type === 'search' && styles.search(theme), type === 'password' && styles.password(theme), type === 'number' && styles.number(theme), type === 'stealth' && styles.stealth(theme), props.disabled && styles.disabled(theme), cardInput && styles.cardInput(theme)],
|
88
88
|
children: React.Children.map(props.children, child => {
|
89
89
|
if (!child) {
|
90
90
|
return null;
|