@insymetri/styleguide 0.1.26 → 0.1.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/IIButton/IIButton.svelte +1 -1
- package/dist/IICombobox/IICombobox.svelte +7 -0
- package/dist/IICombobox/IICombobox.svelte.d.ts +1 -0
- package/dist/IIDateInput/IIDateInput.svelte +2 -2
- package/dist/IIIconButton/IIIconButton.svelte +1 -1
- package/dist/IIInput/IIInput.svelte +2 -2
- package/dist/IISegmentedControl/IISegmentedControl.svelte +73 -19
- package/dist/IISegmentedControl/IISegmentedControl.svelte.d.ts +0 -1
- package/dist/IISegmentedControl/IISegmentedControlStories.svelte +10 -26
- package/dist/IISwitch/IISwitch.svelte +1 -1
- package/dist/IIToggle/IIToggle.svelte +1 -1
- package/dist/MobileOnboarding/LoginFlowBare.svelte +13 -2
- package/dist/MobileOnboarding/LoginFlowBareAlt.svelte +968 -0
- package/dist/MobileOnboarding/LoginFlowBareAlt.svelte.d.ts +3 -0
- package/dist/MobileOnboarding/LoginScreenBare.svelte +84 -67
- package/dist/MobileOnboarding/LoginScreenBare.svelte.d.ts +4 -0
- package/dist/MobileOnboarding/OTPScreenBare.svelte +196 -125
- package/dist/MobileOnboarding/OTPScreenBare.svelte.d.ts +4 -0
- package/dist/style/themes.css +145 -0
- package/package.json +1 -1
|
@@ -4,6 +4,10 @@ type Props = {
|
|
|
4
4
|
onBack?: () => void;
|
|
5
5
|
stepIndicator?: Snippet;
|
|
6
6
|
hideStepIndicator?: boolean;
|
|
7
|
+
/** When true, content above step indicator fades out */
|
|
8
|
+
transitioning?: boolean;
|
|
9
|
+
/** Hide the illustration banner on mobile/tablet */
|
|
10
|
+
hideBanner?: boolean;
|
|
7
11
|
};
|
|
8
12
|
declare const OTPScreenBare: import("svelte").Component<Props, {}, "">;
|
|
9
13
|
type OTPScreenBare = ReturnType<typeof OTPScreenBare>;
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
/* Brand palette overrides — applied via Storybook toolbar or a class on :root */
|
|
2
|
+
|
|
3
|
+
.theme-corrino {
|
|
4
|
+
/* Brand */
|
|
5
|
+
--ii-primary: #1e3a5f;
|
|
6
|
+
--ii-primary-hover: #162d4a;
|
|
7
|
+
--ii-accent: #c9a84c;
|
|
8
|
+
--ii-accent-hover: #b89540;
|
|
9
|
+
--ii-secondary: #4a6fa5;
|
|
10
|
+
--ii-text-on-primary: #ffffff;
|
|
11
|
+
--ii-text-on-accent: #1e3a5f;
|
|
12
|
+
|
|
13
|
+
/* Primary opacity variants */
|
|
14
|
+
--ii-primary-2: rgba(30, 58, 95, 0.02);
|
|
15
|
+
--ii-primary-5: rgba(30, 58, 95, 0.05);
|
|
16
|
+
--ii-primary-8: rgba(30, 58, 95, 0.08);
|
|
17
|
+
--ii-primary-15: rgba(30, 58, 95, 0.15);
|
|
18
|
+
--ii-primary-20: rgba(30, 58, 95, 0.2);
|
|
19
|
+
|
|
20
|
+
/* Focus */
|
|
21
|
+
--ii-focus-primary: rgba(30, 58, 95, 0.1);
|
|
22
|
+
--ii-focus-blue: rgba(30, 58, 95, 0.1);
|
|
23
|
+
|
|
24
|
+
/* Buttons — primary */
|
|
25
|
+
--color-button-primary-bg: var(--ii-primary);
|
|
26
|
+
--color-button-primary-bg-hover: var(--ii-primary-hover);
|
|
27
|
+
|
|
28
|
+
/* Buttons — accent */
|
|
29
|
+
--color-button-accent-bg: var(--ii-accent);
|
|
30
|
+
--color-button-accent-bg-hover: var(--ii-accent-hover);
|
|
31
|
+
--color-button-accent-text: var(--ii-text-on-accent);
|
|
32
|
+
|
|
33
|
+
/* Filter chips */
|
|
34
|
+
--ii-filter-bg: #e8eef6;
|
|
35
|
+
--ii-filter-border: #a8c4e0;
|
|
36
|
+
--ii-filter-text: #1e3a5f;
|
|
37
|
+
--ii-filter-operator: #4a6fa5;
|
|
38
|
+
--ii-filter-remove-bg: #d1dfef;
|
|
39
|
+
--ii-filter-remove-hover: #a8c4e0;
|
|
40
|
+
--ii-filter-remove-icon: #1e3a5f;
|
|
41
|
+
|
|
42
|
+
/* Login */
|
|
43
|
+
--ii-login-gradient-start: #e8eef6;
|
|
44
|
+
--ii-login-gradient-end: #1e3a5f;
|
|
45
|
+
--ii-login-particle: rgba(30, 58, 95, 0.3);
|
|
46
|
+
--ii-login-particle-link: rgba(30, 58, 95, 0.6);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.theme-atreides {
|
|
50
|
+
/* Brand */
|
|
51
|
+
--ii-primary: #2d7a3a;
|
|
52
|
+
--ii-primary-hover: #236130;
|
|
53
|
+
--ii-accent: #d4a029;
|
|
54
|
+
--ii-accent-hover: #b8891f;
|
|
55
|
+
--ii-secondary: #5a9e68;
|
|
56
|
+
--ii-text-on-primary: #ffffff;
|
|
57
|
+
--ii-text-on-accent: #2d3a1e;
|
|
58
|
+
|
|
59
|
+
/* Primary opacity variants */
|
|
60
|
+
--ii-primary-2: rgba(45, 122, 58, 0.02);
|
|
61
|
+
--ii-primary-5: rgba(45, 122, 58, 0.05);
|
|
62
|
+
--ii-primary-8: rgba(45, 122, 58, 0.08);
|
|
63
|
+
--ii-primary-15: rgba(45, 122, 58, 0.15);
|
|
64
|
+
--ii-primary-20: rgba(45, 122, 58, 0.2);
|
|
65
|
+
|
|
66
|
+
/* Focus */
|
|
67
|
+
--ii-focus-primary: rgba(45, 122, 58, 0.1);
|
|
68
|
+
--ii-focus-blue: rgba(45, 122, 58, 0.1);
|
|
69
|
+
|
|
70
|
+
/* Buttons — primary */
|
|
71
|
+
--color-button-primary-bg: var(--ii-primary);
|
|
72
|
+
--color-button-primary-bg-hover: var(--ii-primary-hover);
|
|
73
|
+
|
|
74
|
+
/* Buttons — accent */
|
|
75
|
+
--color-button-accent-bg: var(--ii-accent);
|
|
76
|
+
--color-button-accent-bg-hover: var(--ii-accent-hover);
|
|
77
|
+
--color-button-accent-text: var(--ii-text-on-accent);
|
|
78
|
+
|
|
79
|
+
/* Filter chips */
|
|
80
|
+
--ii-filter-bg: #e8f5ea;
|
|
81
|
+
--ii-filter-border: #a8d5b0;
|
|
82
|
+
--ii-filter-text: #2d7a3a;
|
|
83
|
+
--ii-filter-operator: #5a9e68;
|
|
84
|
+
--ii-filter-remove-bg: #d1ecd6;
|
|
85
|
+
--ii-filter-remove-hover: #a8d5b0;
|
|
86
|
+
--ii-filter-remove-icon: #2d7a3a;
|
|
87
|
+
|
|
88
|
+
/* Login */
|
|
89
|
+
--ii-login-gradient-start: #e8f5ea;
|
|
90
|
+
--ii-login-gradient-end: #6b9e74;
|
|
91
|
+
--ii-login-particle: rgba(45, 122, 58, 0.3);
|
|
92
|
+
--ii-login-particle-link: rgba(45, 122, 58, 0.6);
|
|
93
|
+
|
|
94
|
+
/* Radius */
|
|
95
|
+
--ii-radius-control: 10px;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.theme-gesserit {
|
|
99
|
+
/* Brand */
|
|
100
|
+
--ii-primary: #7c3aed;
|
|
101
|
+
--ii-primary-hover: #6d28d9;
|
|
102
|
+
--ii-accent: #c084fc;
|
|
103
|
+
--ii-accent-hover: #a855f7;
|
|
104
|
+
--ii-secondary: #8b5cf6;
|
|
105
|
+
--ii-text-on-primary: #ffffff;
|
|
106
|
+
--ii-text-on-accent: #2e1065;
|
|
107
|
+
|
|
108
|
+
/* Primary opacity variants */
|
|
109
|
+
--ii-primary-2: rgba(124, 58, 237, 0.02);
|
|
110
|
+
--ii-primary-5: rgba(124, 58, 237, 0.05);
|
|
111
|
+
--ii-primary-8: rgba(124, 58, 237, 0.08);
|
|
112
|
+
--ii-primary-15: rgba(124, 58, 237, 0.15);
|
|
113
|
+
--ii-primary-20: rgba(124, 58, 237, 0.2);
|
|
114
|
+
|
|
115
|
+
/* Focus */
|
|
116
|
+
--ii-focus-primary: rgba(124, 58, 237, 0.1);
|
|
117
|
+
--ii-focus-blue: rgba(124, 58, 237, 0.1);
|
|
118
|
+
|
|
119
|
+
/* Buttons — primary */
|
|
120
|
+
--color-button-primary-bg: var(--ii-primary);
|
|
121
|
+
--color-button-primary-bg-hover: var(--ii-primary-hover);
|
|
122
|
+
|
|
123
|
+
/* Buttons — accent */
|
|
124
|
+
--color-button-accent-bg: var(--ii-accent);
|
|
125
|
+
--color-button-accent-bg-hover: var(--ii-accent-hover);
|
|
126
|
+
--color-button-accent-text: var(--ii-text-on-accent);
|
|
127
|
+
|
|
128
|
+
/* Filter chips */
|
|
129
|
+
--ii-filter-bg: #f3e8ff;
|
|
130
|
+
--ii-filter-border: #d8b4fe;
|
|
131
|
+
--ii-filter-text: #7c3aed;
|
|
132
|
+
--ii-filter-operator: #8b5cf6;
|
|
133
|
+
--ii-filter-remove-bg: #e9d5ff;
|
|
134
|
+
--ii-filter-remove-hover: #d8b4fe;
|
|
135
|
+
--ii-filter-remove-icon: #7c3aed;
|
|
136
|
+
|
|
137
|
+
/* Login */
|
|
138
|
+
--ii-login-gradient-start: #f3e8ff;
|
|
139
|
+
--ii-login-gradient-end: #8b5cf6;
|
|
140
|
+
--ii-login-particle: rgba(124, 58, 237, 0.3);
|
|
141
|
+
--ii-login-particle-link: rgba(124, 58, 237, 0.6);
|
|
142
|
+
|
|
143
|
+
/* Radius */
|
|
144
|
+
--ii-radius-control: 4px;
|
|
145
|
+
}
|