@rolemodel/optics 2.1.2 → 2.1.4

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.
Files changed (44) hide show
  1. package/.yarn/install-state.gz +0 -0
  2. package/.yarn/releases/yarn-4.8.1.cjs +935 -0
  3. package/.yarnrc.yml +1 -1
  4. package/README.md +1 -1
  5. package/dist/README.md +1 -1
  6. package/dist/css/components/accordion.css +66 -0
  7. package/dist/css/components/alert.css +171 -0
  8. package/dist/css/components/avatar.css +95 -0
  9. package/dist/css/components/badge.css +73 -0
  10. package/dist/css/components/breadcrumbs.css +37 -0
  11. package/dist/css/components/button.css +273 -0
  12. package/dist/css/components/button_group.css +47 -0
  13. package/dist/css/components/card.css +70 -0
  14. package/dist/css/components/confirm-dialog.css +80 -0
  15. package/dist/css/components/divider.css +55 -0
  16. package/dist/css/components/form.css +360 -0
  17. package/dist/css/components/icon.css +121 -0
  18. package/dist/css/components/index.css +24 -0
  19. package/dist/css/components/modal.css +149 -0
  20. package/dist/css/components/navbar.css +60 -0
  21. package/dist/css/components/pagination.css +24 -0
  22. package/dist/css/components/side_panel.css +90 -0
  23. package/dist/css/components/sidebar.css +138 -0
  24. package/dist/css/components/spinner.css +52 -0
  25. package/dist/css/components/switch.css +107 -0
  26. package/dist/css/components/tab.css +76 -0
  27. package/dist/css/components/table.css +133 -0
  28. package/dist/css/components/tag.css +168 -0
  29. package/dist/css/components/text_pair.css +55 -0
  30. package/dist/css/components/tooltip.css +134 -0
  31. package/dist/css/core/base.css +95 -0
  32. package/dist/css/core/fonts/icon_fonts.css +8 -0
  33. package/dist/css/core/fonts/index.css +8 -0
  34. package/dist/css/core/fonts/text_fonts.css +16 -0
  35. package/dist/css/core/layout.css +43 -0
  36. package/dist/css/core/tokens/base_tokens.css +338 -0
  37. package/dist/css/core/tokens/index.css +2 -0
  38. package/dist/css/core/tokens/scale_color_tokens.css +1498 -0
  39. package/dist/css/core/utilities.css +429 -0
  40. package/dist/css/optics.css +10 -2
  41. package/dist/css/optics.min.css +1 -1
  42. package/dist/package.json +3 -3
  43. package/package.json +3 -3
  44. package/.yarn/releases/yarn-4.2.2.cjs +0 -894
@@ -0,0 +1,429 @@
1
+ /* Container Properties */
2
+
3
+ .container {
4
+ width: 100%;
5
+ max-width: var(--op-breakpoint-medium);
6
+ padding: 0 var(--op-space-large);
7
+ margin: 0 auto;
8
+ }
9
+
10
+ .container--sm {
11
+ max-width: var(--op-breakpoint-small);
12
+ }
13
+
14
+ .container--md-padding {
15
+ padding: 0 var(--op-space-medium);
16
+ }
17
+
18
+ .container--sm-padding {
19
+ padding: 0 var(--op-space-small);
20
+ }
21
+
22
+ .container--xs {
23
+ max-width: var(--op-breakpoint-x-small);
24
+ }
25
+
26
+ /* Width Properties */
27
+
28
+ .full-width {
29
+ width: 100%;
30
+ }
31
+
32
+ .half-width {
33
+ width: 50%;
34
+ }
35
+
36
+ .four-fifths-width {
37
+ width: calc(100% * 4 / 5);
38
+ }
39
+
40
+ .three-fifths-width {
41
+ width: calc(100% * 3 / 5);
42
+ }
43
+
44
+ .two-fifths-width {
45
+ width: calc(100% * 2 / 5);
46
+ }
47
+
48
+ .one-fifth-width {
49
+ width: calc(100% * 1 / 5);
50
+ }
51
+
52
+ .three-quarters-width {
53
+ width: calc(100% * 3 / 4);
54
+ }
55
+
56
+ .one-quarter-width {
57
+ width: calc(100% * 1 / 4);
58
+ }
59
+
60
+ .two-thirds-width {
61
+ width: calc(100% * 2 / 3);
62
+ }
63
+
64
+ .one-third-width {
65
+ width: calc(100% * 1 / 3);
66
+ }
67
+
68
+ /* Flex Properties */
69
+
70
+ .flex {
71
+ display: flex;
72
+ }
73
+
74
+ .flex-col {
75
+ flex-direction: column;
76
+ }
77
+
78
+ .flex-row {
79
+ flex-direction: row;
80
+ }
81
+
82
+ .flex-wrap {
83
+ flex-wrap: wrap;
84
+ }
85
+
86
+ .flex-no-wrap {
87
+ flex-wrap: nowrap;
88
+ }
89
+
90
+ .flex-grow-1 {
91
+ flex-grow: 1;
92
+ }
93
+
94
+ /* Gap Properties */
95
+ .gap-xxs {
96
+ gap: var(--op-space-2x-small);
97
+
98
+ --op-gap: var(--op-space-2x-small);
99
+ }
100
+
101
+ .gap-xs {
102
+ gap: var(--op-space-x-small);
103
+
104
+ --op-gap: var(--op-space-x-small);
105
+ }
106
+
107
+ .gap-sm {
108
+ gap: var(--op-space-small);
109
+
110
+ --op-gap: var(--op-space-small);
111
+ }
112
+
113
+ .gap-md {
114
+ gap: var(--op-space-medium);
115
+
116
+ --op-gap: var(--op-space-medium);
117
+ }
118
+
119
+ .gap-lg {
120
+ gap: var(--op-space-large);
121
+
122
+ --op-gap: var(--op-space-large);
123
+ }
124
+
125
+ .gap-xl {
126
+ gap: var(--op-space-x-large);
127
+
128
+ --op-gap: var(--op-space-x-large);
129
+ }
130
+
131
+ /* Justify Content */
132
+
133
+ .justify-start {
134
+ justify-content: flex-start;
135
+ }
136
+
137
+ .justify-center {
138
+ justify-content: center;
139
+ }
140
+
141
+ .justify-end {
142
+ justify-content: flex-end;
143
+ }
144
+
145
+ .justify-between {
146
+ justify-content: space-between;
147
+ }
148
+
149
+ .justify-around {
150
+ justify-content: space-around;
151
+ }
152
+
153
+ /* Align Items */
154
+
155
+ .items-stretch {
156
+ align-items: stretch;
157
+ }
158
+
159
+ .items-start {
160
+ align-items: flex-start;
161
+ }
162
+
163
+ .items-center {
164
+ align-items: center;
165
+ }
166
+
167
+ .items-end {
168
+ align-items: flex-end;
169
+ }
170
+
171
+ .items-baseline {
172
+ align-items: baseline;
173
+ }
174
+
175
+ /* Align Self */
176
+
177
+ .self-auto {
178
+ align-self: auto;
179
+ }
180
+
181
+ .self-start {
182
+ align-self: flex-start;
183
+ }
184
+
185
+ .self-center {
186
+ align-self: center;
187
+ }
188
+
189
+ .self-end {
190
+ align-self: flex-end;
191
+ }
192
+
193
+ .self-stretch {
194
+ align-self: stretch;
195
+ }
196
+
197
+ .self-baseline {
198
+ align-self: baseline;
199
+ }
200
+
201
+ /* Text Alignment */
202
+
203
+ .text-left {
204
+ text-align: left;
205
+ }
206
+
207
+ .text-center {
208
+ text-align: center;
209
+ }
210
+
211
+ .text-right {
212
+ text-align: right;
213
+ }
214
+
215
+ .text-justify {
216
+ text-align: justify;
217
+ }
218
+
219
+ /* Box Margin */
220
+
221
+ .margin-xl {
222
+ margin: var(--op-space-x-large);
223
+ }
224
+
225
+ .margin-lg {
226
+ margin: var(--op-space-large);
227
+ }
228
+
229
+ .margin-md {
230
+ margin: var(--op-space-medium);
231
+ }
232
+
233
+ .margin-sm {
234
+ margin: var(--op-space-small);
235
+ }
236
+
237
+ .margin-xs {
238
+ margin: var(--op-space-x-small);
239
+ }
240
+
241
+ .margin-none {
242
+ margin: 0;
243
+ }
244
+
245
+ .margin-auto {
246
+ margin: auto;
247
+ }
248
+
249
+ /* Vertical Margin */
250
+
251
+ .margin-y-xl {
252
+ margin-top: var(--op-space-x-large);
253
+ margin-bottom: var(--op-space-x-large);
254
+ }
255
+
256
+ .margin-y-lg {
257
+ margin-top: var(--op-space-large);
258
+ margin-bottom: var(--op-space-large);
259
+ }
260
+
261
+ .margin-y-md {
262
+ margin-top: var(--op-space-medium);
263
+ margin-bottom: var(--op-space-medium);
264
+ }
265
+
266
+ .margin-y-sm {
267
+ margin-top: var(--op-space-small);
268
+ margin-bottom: var(--op-space-small);
269
+ }
270
+
271
+ .margin-y-xs {
272
+ margin-top: var(--op-space-x-small);
273
+ margin-bottom: var(--op-space-x-small);
274
+ }
275
+
276
+ .margin-y-none {
277
+ margin-top: 0;
278
+ margin-bottom: 0;
279
+ }
280
+
281
+ /* Horizontal Margin */
282
+
283
+ .margin-x-xl {
284
+ margin-right: var(--op-space-x-large);
285
+ margin-left: var(--op-space-x-large);
286
+ }
287
+
288
+ .margin-x-lg {
289
+ margin-right: var(--op-space-large);
290
+ margin-left: var(--op-space-large);
291
+ }
292
+
293
+ .margin-x-md {
294
+ margin-right: var(--op-space-medium);
295
+ margin-left: var(--op-space-medium);
296
+ }
297
+
298
+ .margin-x-sm {
299
+ margin-right: var(--op-space-small);
300
+ margin-left: var(--op-space-small);
301
+ }
302
+
303
+ .margin-x-xs {
304
+ margin-right: var(--op-space-x-small);
305
+ margin-left: var(--op-space-x-small);
306
+ }
307
+
308
+ .margin-x-none {
309
+ margin-right: 0;
310
+ margin-left: 0;
311
+ }
312
+
313
+ /* Top Margin */
314
+
315
+ .margin-top-xl {
316
+ margin-top: var(--op-space-x-large);
317
+ }
318
+
319
+ .margin-top-lg {
320
+ margin-top: var(--op-space-large);
321
+ }
322
+
323
+ .margin-top-md {
324
+ margin-top: var(--op-space-medium);
325
+ }
326
+
327
+ .margin-top-sm {
328
+ margin-top: var(--op-space-small);
329
+ }
330
+
331
+ .margin-top-xs {
332
+ margin-top: var(--op-space-x-small);
333
+ }
334
+
335
+ .margin-top-none {
336
+ margin-top: 0;
337
+ }
338
+
339
+ /* Bottom Margin */
340
+
341
+ .margin-bottom-xl {
342
+ margin-bottom: var(--op-space-x-large);
343
+ }
344
+
345
+ .margin-bottom-lg {
346
+ margin-bottom: var(--op-space-large);
347
+ }
348
+
349
+ .margin-bottom-md {
350
+ margin-bottom: var(--op-space-medium);
351
+ }
352
+
353
+ .margin-bottom-sm {
354
+ margin-bottom: var(--op-space-small);
355
+ }
356
+
357
+ .margin-bottom-xs {
358
+ margin-bottom: var(--op-space-x-small);
359
+ }
360
+
361
+ .margin-bottom-none {
362
+ margin-bottom: 0;
363
+ }
364
+
365
+ /* Right Margin */
366
+
367
+ .margin-right-xl {
368
+ margin-right: var(--op-space-x-large);
369
+ }
370
+
371
+ .margin-right-lg {
372
+ margin-right: var(--op-space-large);
373
+ }
374
+
375
+ .margin-right-md {
376
+ margin-right: var(--op-space-medium);
377
+ }
378
+
379
+ .margin-right-sm {
380
+ margin-right: var(--op-space-small);
381
+ }
382
+
383
+ .margin-right-xs {
384
+ margin-right: var(--op-space-x-small);
385
+ }
386
+
387
+ .margin-right-none {
388
+ margin-left: 0;
389
+ }
390
+
391
+ /* Left Margin */
392
+
393
+ .margin-left-xl {
394
+ margin-left: var(--op-space-x-large);
395
+ }
396
+
397
+ .margin-left-lg {
398
+ margin-left: var(--op-space-large);
399
+ }
400
+
401
+ .margin-left-md {
402
+ margin-left: var(--op-space-medium);
403
+ }
404
+
405
+ .margin-left-sm {
406
+ margin-left: var(--op-space-small);
407
+ }
408
+
409
+ .margin-left-xs {
410
+ margin-left: var(--op-space-x-small);
411
+ }
412
+
413
+ .margin-left-none {
414
+ margin-left: 0;
415
+ }
416
+
417
+ /*
418
+ Accessibility
419
+ Use the following class to hide accessibility text that is needed for screen readers but needs to be hidden from regular users.
420
+ https: //snook.ca/archives/html_and_css/hiding-content-for-accessibility
421
+ */
422
+ .sr-only {
423
+ position: absolute !important;
424
+ overflow: hidden;
425
+ width: 1px;
426
+ height: 1px;
427
+ clip: rect(1px 1px 1px 1px);
428
+ clip: rect(1px, 1px, 1px, 1px);
429
+ }
@@ -3134,13 +3134,13 @@ small {
3134
3134
  /* Public API (customizable component options) */
3135
3135
  --_op-card-padding: var(--op-space-medium);
3136
3136
  --_op-card-box-shadow: var(--op-border-all) var(--op-color-border);
3137
+ --_op-card-radius: var(--op-radius-medium);
3137
3138
 
3138
3139
  position: relative;
3139
- border-radius: var(--op-radius-medium);
3140
+ border-radius: var(--_op-card-radius);
3140
3141
  background-color: var(--op-color-background);
3141
3142
  box-shadow: var(--_op-card-box-shadow);
3142
3143
  color: var(--op-color-on-background);
3143
- contain: paint;
3144
3144
  font-size: var(--op-font-medium);
3145
3145
  line-height: var(--op-line-height-base);
3146
3146
 
@@ -3182,6 +3182,9 @@ small {
3182
3182
  }
3183
3183
 
3184
3184
  .card__header {
3185
+ border-top-left-radius: var(--_op-card-radius);
3186
+ border-top-right-radius: var(--_op-card-radius);
3187
+
3185
3188
  h1,
3186
3189
  h2,
3187
3190
  h3,
@@ -3191,6 +3194,11 @@ small {
3191
3194
  margin: 0;
3192
3195
  }
3193
3196
  }
3197
+
3198
+ .card__footer {
3199
+ border-bottom-left-radius: var(--_op-card-radius);
3200
+ border-bottom-right-radius: var(--_op-card-radius);
3201
+ }
3194
3202
  }
3195
3203
  .confirm-dialog-wrapper {
3196
3204
  position: fixed;