@visitwonders/assembly 0.1.0 → 0.3.0
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/declarations/action/button-group.d.ts +89 -0
- package/declarations/action/button-group.d.ts.map +1 -0
- package/declarations/action/button.d.ts +4 -0
- package/declarations/action/button.d.ts.map +1 -1
- package/declarations/action/index.d.ts +1 -0
- package/declarations/action/index.d.ts.map +1 -1
- package/declarations/components/form/checkbox.d.ts +0 -65
- package/declarations/components/form/control.d.ts +0 -36
- package/declarations/components/form/error-message.d.ts +0 -22
- package/declarations/components/form/field.d.ts +0 -21
- package/declarations/components/form/form.d.ts +0 -14
- package/declarations/components/form/help-text.d.ts +0 -14
- package/declarations/components/form/index.d.ts +0 -15
- package/declarations/components/form/input.d.ts +0 -80
- package/declarations/components/form/label.d.ts +0 -34
- package/declarations/components/form/radio-group.d.ts +0 -43
- package/declarations/components/form/radio.d.ts +0 -54
- package/declarations/components/form/search-input.d.ts +0 -35
- package/declarations/components/form/select.d.ts +0 -36
- package/declarations/components/form/test.d.ts +0 -11
- package/declarations/components/form/textarea.d.ts +0 -79
- package/declarations/components/form/toggle.d.ts +0 -23
- package/declarations/components/primitives/grid-item.d.ts +0 -21
- package/declarations/components/primitives/grid.d.ts +0 -49
- package/declarations/components/primitives/h-stack.d.ts +0 -17
- package/declarations/components/primitives/heading.d.ts +0 -52
- package/declarations/components/primitives/image.d.ts +0 -24
- package/declarations/components/primitives/index.d.ts +0 -8
- package/declarations/components/primitives/link.d.ts +0 -16
- package/declarations/components/primitives/stack.d.ts +0 -23
- package/declarations/components/primitives/text.d.ts +0 -50
- package/declarations/components/primitives/v-stack.d.ts +0 -16
- package/declarations/components/ui/badge.d.ts +0 -14
- package/declarations/components/ui/button.d.ts +0 -32
- package/declarations/components/ui/card.d.ts +0 -27
- package/declarations/components/ui/description-list.d.ts +0 -22
- package/declarations/components/ui/drawer.d.ts +0 -14
- package/declarations/components/ui/icon-button.d.ts +0 -21
- package/declarations/components/ui/icon.d.ts +0 -21
- package/declarations/components/ui/index.d.ts +0 -17
- package/declarations/components/ui/modal.d.ts +0 -14
- package/declarations/components/ui/page-header.d.ts +0 -16
- package/declarations/components/ui/skeleton-card.d.ts +0 -17
- package/declarations/components/ui/skeleton-text.d.ts +0 -16
- package/declarations/components/ui/skeleton.d.ts +0 -20
- package/declarations/components/ui/spinner.d.ts +0 -11
- package/declarations/components/ui/tab-nav/index.d.ts +0 -36
- package/declarations/components/ui/table/body.d.ts +0 -11
- package/declarations/components/ui/table/caption.d.ts +0 -18
- package/declarations/components/ui/table/cell.d.ts +0 -31
- package/declarations/components/ui/table/footer.d.ts +0 -11
- package/declarations/components/ui/table/header-cell.d.ts +0 -35
- package/declarations/components/ui/table/header.d.ts +0 -11
- package/declarations/components/ui/table/row.d.ts +0 -21
- package/declarations/components/ui/table_old.d.ts +0 -29
- package/declarations/data/index.d.ts +1 -0
- package/declarations/data/index.d.ts.map +1 -1
- package/declarations/data/sortable-list.d.ts +33 -0
- package/declarations/data/sortable-list.d.ts.map +1 -0
- package/declarations/data/table.d.ts +0 -1
- package/declarations/data/table.d.ts.map +1 -1
- package/declarations/form/calendar.d.ts +0 -1
- package/declarations/form/calendar.d.ts.map +1 -1
- package/declarations/form/control.d.ts +5 -1
- package/declarations/form/control.d.ts.map +1 -1
- package/declarations/form/country-select-field.d.ts +6 -0
- package/declarations/form/country-select-field.d.ts.map +1 -1
- package/declarations/form/country-select.d.ts +0 -1
- package/declarations/form/country-select.d.ts.map +1 -1
- package/declarations/form/date-picker-field.d.ts +6 -0
- package/declarations/form/date-picker-field.d.ts.map +1 -1
- package/declarations/form/date-picker.d.ts +0 -1
- package/declarations/form/date-picker.d.ts.map +1 -1
- package/declarations/form/date-range-picker-field.d.ts +6 -0
- package/declarations/form/date-range-picker-field.d.ts.map +1 -1
- package/declarations/form/date-range-picker.d.ts +0 -1
- package/declarations/form/date-range-picker.d.ts.map +1 -1
- package/declarations/form/fieldset.d.ts +22 -0
- package/declarations/form/fieldset.d.ts.map +1 -0
- package/declarations/form/form.d.ts +0 -1
- package/declarations/form/form.d.ts.map +1 -1
- package/declarations/form/index.d.ts +1 -0
- package/declarations/form/index.d.ts.map +1 -1
- package/declarations/form/label.d.ts +4 -0
- package/declarations/form/label.d.ts.map +1 -1
- package/declarations/form/listbox.d.ts +0 -1
- package/declarations/form/listbox.d.ts.map +1 -1
- package/declarations/form/money-field.d.ts +6 -1
- package/declarations/form/money-field.d.ts.map +1 -1
- package/declarations/form/multi-select.d.ts +0 -1
- package/declarations/form/multi-select.d.ts.map +1 -1
- package/declarations/form/number-field.d.ts +9 -1
- package/declarations/form/number-field.d.ts.map +1 -1
- package/declarations/form/select-field.d.ts +4 -1
- package/declarations/form/select-field.d.ts.map +1 -1
- package/declarations/form/test.d.ts +0 -11
- package/declarations/form/text-field.d.ts +9 -0
- package/declarations/form/text-field.d.ts.map +1 -1
- package/declarations/form/time-picker-field.d.ts +6 -0
- package/declarations/form/time-picker-field.d.ts.map +1 -1
- package/declarations/form/time-picker.d.ts +0 -1
- package/declarations/form/time-picker.d.ts.map +1 -1
- package/declarations/form/toggle.d.ts +4 -0
- package/declarations/form/toggle.d.ts.map +1 -1
- package/declarations/layout/index.d.ts +1 -0
- package/declarations/layout/index.d.ts.map +1 -1
- package/declarations/layout/panel.d.ts +34 -0
- package/declarations/layout/panel.d.ts.map +1 -0
- package/declarations/layout/stack.d.ts +1 -1
- package/declarations/media/icon.d.ts +0 -1
- package/declarations/media/icon.d.ts.map +1 -1
- package/declarations/media/image.d.ts +1 -1
- package/declarations/overlay/blanket.d.ts +0 -1
- package/declarations/overlay/blanket.d.ts.map +1 -1
- package/declarations/overlay/drawer.d.ts +4 -1
- package/declarations/overlay/drawer.d.ts.map +1 -1
- package/declarations/overlay/modal.d.ts +0 -1
- package/declarations/overlay/modal.d.ts.map +1 -1
- package/declarations/overlay/popover.d.ts +0 -1
- package/declarations/overlay/popover.d.ts.map +1 -1
- package/declarations/overlay/toast.d.ts +0 -1
- package/declarations/overlay/toast.d.ts.map +1 -1
- package/declarations/overlay/tooltip.d.ts +0 -1
- package/declarations/overlay/tooltip.d.ts.map +1 -1
- package/declarations/primitives/grid-item.d.ts +0 -21
- package/declarations/primitives/grid.d.ts +0 -49
- package/declarations/primitives/h-stack.d.ts +0 -17
- package/declarations/primitives/heading.d.ts +0 -52
- package/declarations/primitives/image.d.ts +0 -24
- package/declarations/primitives/index.d.ts +0 -4
- package/declarations/primitives/link.d.ts +0 -16
- package/declarations/primitives/stack.d.ts +0 -23
- package/declarations/primitives/text.d.ts +0 -50
- package/declarations/primitives/v-stack.d.ts +0 -16
- package/declarations/status/badge.d.ts +0 -1
- package/declarations/status/badge.d.ts.map +1 -1
- package/declarations/status/skeleton-avatar.d.ts +1 -1
- package/declarations/status/skeleton-avatar.d.ts.map +1 -1
- package/declarations/status/skeleton-button.d.ts +1 -1
- package/declarations/status/skeleton-button.d.ts.map +1 -1
- package/declarations/status/skeleton-image.d.ts +1 -1
- package/declarations/status/skeleton-image.d.ts.map +1 -1
- package/declarations/status/skeleton-text.d.ts +1 -1
- package/declarations/status/skeleton-text.d.ts.map +1 -1
- package/declarations/status/skeleton.d.ts +1 -1
- package/declarations/status/skeleton.d.ts.map +1 -1
- package/declarations/status/tag.d.ts +0 -1
- package/declarations/status/tag.d.ts.map +1 -1
- package/declarations/typography/link.d.ts +0 -16
- package/declarations/typography/text.d.ts +2 -0
- package/declarations/typography/text.d.ts.map +1 -1
- package/declarations/ui/button.d.ts +0 -50
- package/declarations/ui/icon.d.ts +0 -21
- package/dist/_app_/action/button-group.js +1 -0
- package/dist/_app_/data/sortable-list.js +1 -0
- package/dist/_app_/form/fieldset.js +1 -0
- package/dist/_app_/layout/panel.js +1 -0
- package/dist/action/button-group.css +18 -0
- package/dist/action/button-group.js +130 -0
- package/dist/action/button-group.js.map +1 -0
- package/dist/action/button.css +152 -0
- package/dist/action/button.js +1 -1
- package/dist/action/index.js +1 -0
- package/dist/action/index.js.map +1 -1
- package/dist/data/index.js +1 -0
- package/dist/data/index.js.map +1 -1
- package/dist/data/sortable-list-css-211fcfeedc08052ccbac7f51549ce0b1.css +89 -0
- package/dist/data/sortable-list.js +62 -0
- package/dist/data/sortable-list.js.map +1 -0
- package/dist/data/table.css +50 -49
- package/dist/data/table.js +1 -1
- package/dist/form/checkbox.css +3 -3
- package/dist/form/control-css-02e93d930aecac651d5c69dc10a83504.css +36 -0
- package/dist/form/control.js +2 -2
- package/dist/form/country-select-field.js +1 -1
- package/dist/form/country-select-field.js.map +1 -1
- package/dist/form/country-select.css +1 -1
- package/dist/form/date-picker-field.js +1 -1
- package/dist/form/date-picker-field.js.map +1 -1
- package/dist/form/date-range-picker-field.js +1 -1
- package/dist/form/date-range-picker-field.js.map +1 -1
- package/dist/form/field.css +3 -3
- package/dist/form/fieldset.css +65 -0
- package/dist/form/fieldset.js +20 -0
- package/dist/form/fieldset.js.map +1 -0
- package/dist/form/help-text.css +1 -1
- package/dist/form/index.js +1 -0
- package/dist/form/index.js.map +1 -1
- package/dist/form/input.css +1 -0
- package/dist/form/label.css +15 -1
- package/dist/form/label.js +10 -4
- package/dist/form/money-field.js +1 -1
- package/dist/form/multi-select.css +1 -1
- package/dist/form/number-field.css +1 -0
- package/dist/form/number-field.js +1 -1
- package/dist/form/radio.css +3 -3
- package/dist/form/select-field.js +1 -1
- package/dist/form/select-field.js.map +1 -1
- package/dist/form/select.css +1 -1
- package/dist/form/{text-field-css-f60360f3f8aaf4da664eaccd1bcc9f8f.css → text-field-css-754feeb82dbd9fc9afdc1f00dceb13ad.css} +22 -1
- package/dist/form/text-field.js +2 -2
- package/dist/form/textarea.css +2 -1
- package/dist/form/time-picker-field.js +1 -1
- package/dist/form/time-picker-field.js.map +1 -1
- package/dist/form/toggle.css +27 -1
- package/dist/form/toggle.js +4 -1
- package/dist/layout/{divider-css-1ba104b9c606cbd1f542b45640fb5f2b.css → divider-css-7e0cc7d350e31172582851c6cb2cf586.css} +2 -2
- package/dist/layout/divider.js +1 -1
- package/dist/layout/{grid-css-086976eb41686e3714554f56c098d3d5.css → grid-css-c8259b34d7062f44e78f0a2cc139cb44.css} +13 -13
- package/dist/layout/grid.js +1 -1
- package/dist/layout/index.js +1 -0
- package/dist/layout/index.js.map +1 -1
- package/dist/layout/panel.css +229 -0
- package/dist/layout/panel.js +32 -0
- package/dist/layout/panel.js.map +1 -0
- package/dist/overlay/blanket.css +12 -11
- package/dist/overlay/blanket.js +1 -1
- package/dist/overlay/drawer.css +99 -62
- package/dist/overlay/drawer.js +7 -4
- package/dist/overlay/modal.css +22 -21
- package/dist/overlay/modal.js +4 -4
- package/dist/overlay/popover.css +30 -29
- package/dist/overlay/popover.js +4 -4
- package/dist/overlay/toast.css +49 -48
- package/dist/overlay/toast.js +2 -2
- package/dist/overlay/tooltip.css +38 -37
- package/dist/overlay/tooltip.js +2 -2
- package/dist/skeleton-shared-BTA5oAjw.js +3 -0
- package/dist/skeleton-shared-BTA5oAjw.js.map +1 -0
- package/dist/status/badge.css +30 -29
- package/dist/status/badge.js +1 -1
- package/dist/status/skeleton-avatar.js +1 -1
- package/dist/status/skeleton-avatar.js.map +1 -1
- package/dist/status/skeleton-button.js +1 -1
- package/dist/status/skeleton-button.js.map +1 -1
- package/dist/status/skeleton-image.js +1 -1
- package/dist/status/skeleton-image.js.map +1 -1
- package/dist/status/skeleton-text.js +1 -1
- package/dist/status/skeleton-text.js.map +1 -1
- package/dist/status/skeleton.js +1 -1
- package/dist/status/skeleton.js.map +1 -1
- package/dist/status/tag.css +50 -51
- package/dist/status/tag.js +1 -1
- package/dist/styles/base/typography.css +1 -1
- package/dist/styles/primitive/typography.css +10 -7
- package/dist/styles/semantic/typography.css +4 -4
- package/dist/styles.css +15 -12
- package/dist/typography/{heading-css-8850735eabc2efb34f15240b852c99e7.css → heading-css-726c4c3109f2b741657733e1ba103c67.css} +9 -9
- package/dist/typography/heading.js +1 -1
- package/dist/typography/{text-css-73e03f1b750b32d7064d4ef87562289c.css → text-css-935f55e9cd74b06a5ce61330c4c79ef9.css} +6 -1
- package/dist/typography/text.js +5 -2
- package/package.json +26 -19
- package/dist/form/control-css-6c81caf37fd813b36033091d5340bc70.css +0 -20
- package/dist/skeleton-CL5Pcwrk.js +0 -3
- package/dist/skeleton-CL5Pcwrk.js.map +0 -1
- /package/dist/status/{skeleton.css → skeleton-shared.css} +0 -0
package/dist/status/tag.css
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
/* src/status/tag.css */
|
|
1
2
|
/* ===================================
|
|
2
3
|
* Tag Component
|
|
3
4
|
* =================================== */
|
|
4
5
|
|
|
5
|
-
.
|
|
6
|
+
.tag_e873402ac {
|
|
6
7
|
/* Layout */
|
|
7
8
|
position: relative;
|
|
8
9
|
display: inline-flex;
|
|
@@ -29,7 +30,7 @@
|
|
|
29
30
|
* Tag Content (inner interactive/static element)
|
|
30
31
|
* =================================== */
|
|
31
32
|
|
|
32
|
-
.tag-
|
|
33
|
+
.tag-content_e873402ac {
|
|
33
34
|
/* Reset */
|
|
34
35
|
appearance: none;
|
|
35
36
|
border: none;
|
|
@@ -47,13 +48,11 @@
|
|
|
47
48
|
}
|
|
48
49
|
|
|
49
50
|
/* Interactive content */
|
|
50
|
-
button.tag-
|
|
51
|
-
a.tag-content {
|
|
51
|
+
button.e873402ac.tag-content_e873402ac,a.e873402ac.tag-content_e873402ac {
|
|
52
52
|
cursor: pointer;
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
button.tag-
|
|
56
|
-
a.tag-content:focus-visible {
|
|
55
|
+
button.e873402ac.tag-content_e873402ac:focus-visible,a.e873402ac.tag-content_e873402ac:focus-visible {
|
|
57
56
|
outline: none;
|
|
58
57
|
box-shadow: inset 0 0 0 2px var(--color-focus-ring-halo);
|
|
59
58
|
}
|
|
@@ -62,56 +61,56 @@ a.tag-content:focus-visible {
|
|
|
62
61
|
* Sizes
|
|
63
62
|
* =================================== */
|
|
64
63
|
|
|
65
|
-
.
|
|
64
|
+
.tag_e873402ac[data-size="sm"] {
|
|
66
65
|
height: var(--spacing-5);
|
|
67
66
|
font-size: var(--font-size-xs);
|
|
68
67
|
}
|
|
69
68
|
|
|
70
|
-
.
|
|
69
|
+
.tag_e873402ac[data-size="sm"] .tag-content_e873402ac {
|
|
71
70
|
padding: 0 var(--spacing-2);
|
|
72
71
|
}
|
|
73
72
|
|
|
74
|
-
.
|
|
73
|
+
.tag_e873402ac[data-size="md"] {
|
|
75
74
|
height: var(--spacing-6);
|
|
76
75
|
font-size: var(--font-size-sm);
|
|
77
76
|
}
|
|
78
77
|
|
|
79
|
-
.
|
|
78
|
+
.tag_e873402ac[data-size="md"] .tag-content_e873402ac {
|
|
80
79
|
padding: 0 var(--spacing-2-5);
|
|
81
80
|
}
|
|
82
81
|
|
|
83
|
-
.
|
|
82
|
+
.tag_e873402ac[data-size="lg"] {
|
|
84
83
|
height: var(--spacing-7);
|
|
85
84
|
font-size: var(--font-size-sm);
|
|
86
85
|
}
|
|
87
86
|
|
|
88
|
-
.
|
|
87
|
+
.tag_e873402ac[data-size="lg"] .tag-content_e873402ac {
|
|
89
88
|
padding: 0 var(--spacing-3);
|
|
90
89
|
}
|
|
91
90
|
|
|
92
91
|
/* Adjust padding when has accent bar */
|
|
93
|
-
.
|
|
92
|
+
.tag_e873402ac[data-has-accent="true"][data-size="sm"] .tag-content_e873402ac {
|
|
94
93
|
padding-left: var(--spacing-2);
|
|
95
94
|
}
|
|
96
95
|
|
|
97
|
-
.
|
|
96
|
+
.tag_e873402ac[data-has-accent="true"][data-size="md"] .tag-content_e873402ac {
|
|
98
97
|
padding-left: var(--spacing-2-5);
|
|
99
98
|
}
|
|
100
99
|
|
|
101
|
-
.
|
|
100
|
+
.tag_e873402ac[data-has-accent="true"][data-size="lg"] .tag-content_e873402ac {
|
|
102
101
|
padding-left: var(--spacing-3);
|
|
103
102
|
}
|
|
104
103
|
|
|
105
104
|
/* Adjust padding when removable */
|
|
106
|
-
.
|
|
105
|
+
.tag_e873402ac[data-removable="true"][data-size="sm"] .tag-content_e873402ac {
|
|
107
106
|
padding-right: var(--spacing-1);
|
|
108
107
|
}
|
|
109
108
|
|
|
110
|
-
.
|
|
109
|
+
.tag_e873402ac[data-removable="true"][data-size="md"] .tag-content_e873402ac {
|
|
111
110
|
padding-right: var(--spacing-1);
|
|
112
111
|
}
|
|
113
112
|
|
|
114
|
-
.
|
|
113
|
+
.tag_e873402ac[data-removable="true"][data-size="lg"] .tag-content_e873402ac {
|
|
115
114
|
padding-right: var(--spacing-1-5);
|
|
116
115
|
}
|
|
117
116
|
|
|
@@ -120,139 +119,139 @@ a.tag-content:focus-visible {
|
|
|
120
119
|
* =================================== */
|
|
121
120
|
|
|
122
121
|
/* Neutral */
|
|
123
|
-
.
|
|
122
|
+
.tag_e873402ac[data-tone="neutral"] {
|
|
124
123
|
background: var(--color-bg-neutral-subtle);
|
|
125
124
|
color: var(--color-text);
|
|
126
125
|
}
|
|
127
126
|
|
|
128
|
-
.
|
|
127
|
+
.tag_e873402ac[data-tone="neutral"][data-interactive="true"]:hover:not(
|
|
129
128
|
[data-disabled="true"]
|
|
130
129
|
) {
|
|
131
130
|
background: var(--color-bg-neutral-subtle-hover);
|
|
132
131
|
}
|
|
133
132
|
|
|
134
|
-
.
|
|
133
|
+
.tag_e873402ac[data-tone="neutral"][data-interactive="true"]:active:not(
|
|
135
134
|
[data-disabled="true"]
|
|
136
135
|
) {
|
|
137
136
|
background: var(--color-bg-neutral-subtle-active);
|
|
138
137
|
}
|
|
139
138
|
|
|
140
|
-
.
|
|
139
|
+
.tag_e873402ac[data-tone="neutral"][data-selected="true"] {
|
|
141
140
|
background: var(--color-bg-fill-neutral);
|
|
142
141
|
color: var(--color-text-on-neutral);
|
|
143
142
|
}
|
|
144
143
|
|
|
145
144
|
/* Primary */
|
|
146
|
-
.
|
|
145
|
+
.tag_e873402ac[data-tone="primary"] {
|
|
147
146
|
background: var(--color-bg-primary-subtle);
|
|
148
147
|
color: var(--color-text-primary);
|
|
149
148
|
}
|
|
150
149
|
|
|
151
|
-
.
|
|
150
|
+
.tag_e873402ac[data-tone="primary"][data-interactive="true"]:hover:not(
|
|
152
151
|
[data-disabled="true"]
|
|
153
152
|
) {
|
|
154
153
|
background: var(--color-bg-primary-subtle-hover);
|
|
155
154
|
}
|
|
156
155
|
|
|
157
|
-
.
|
|
156
|
+
.tag_e873402ac[data-tone="primary"][data-interactive="true"]:active:not(
|
|
158
157
|
[data-disabled="true"]
|
|
159
158
|
) {
|
|
160
159
|
background: var(--color-bg-primary-subtle-active);
|
|
161
160
|
}
|
|
162
161
|
|
|
163
|
-
.
|
|
162
|
+
.tag_e873402ac[data-tone="primary"][data-selected="true"] {
|
|
164
163
|
background: var(--color-bg-fill-primary);
|
|
165
164
|
color: var(--color-text-on-primary);
|
|
166
165
|
}
|
|
167
166
|
|
|
168
167
|
/* Success */
|
|
169
|
-
.
|
|
168
|
+
.tag_e873402ac[data-tone="success"] {
|
|
170
169
|
background: var(--color-bg-success-subtle);
|
|
171
170
|
color: var(--color-text-success);
|
|
172
171
|
}
|
|
173
172
|
|
|
174
|
-
.
|
|
173
|
+
.tag_e873402ac[data-tone="success"][data-interactive="true"]:hover:not(
|
|
175
174
|
[data-disabled="true"]
|
|
176
175
|
) {
|
|
177
176
|
background: var(--color-bg-success-subtle-hover);
|
|
178
177
|
}
|
|
179
178
|
|
|
180
|
-
.
|
|
179
|
+
.tag_e873402ac[data-tone="success"][data-interactive="true"]:active:not(
|
|
181
180
|
[data-disabled="true"]
|
|
182
181
|
) {
|
|
183
182
|
background: var(--color-bg-success-subtle-active);
|
|
184
183
|
}
|
|
185
184
|
|
|
186
|
-
.
|
|
185
|
+
.tag_e873402ac[data-tone="success"][data-selected="true"] {
|
|
187
186
|
background: var(--color-bg-fill-success);
|
|
188
187
|
color: var(--color-text-on-success);
|
|
189
188
|
}
|
|
190
189
|
|
|
191
190
|
/* Warning */
|
|
192
|
-
.
|
|
191
|
+
.tag_e873402ac[data-tone="warning"] {
|
|
193
192
|
background: var(--color-bg-warning-subtle);
|
|
194
193
|
color: var(--color-text-warning);
|
|
195
194
|
}
|
|
196
195
|
|
|
197
|
-
.
|
|
196
|
+
.tag_e873402ac[data-tone="warning"][data-interactive="true"]:hover:not(
|
|
198
197
|
[data-disabled="true"]
|
|
199
198
|
) {
|
|
200
199
|
background: var(--color-bg-warning-subtle-hover);
|
|
201
200
|
}
|
|
202
201
|
|
|
203
|
-
.
|
|
202
|
+
.tag_e873402ac[data-tone="warning"][data-interactive="true"]:active:not(
|
|
204
203
|
[data-disabled="true"]
|
|
205
204
|
) {
|
|
206
205
|
background: var(--color-bg-warning-subtle-active);
|
|
207
206
|
}
|
|
208
207
|
|
|
209
|
-
.
|
|
208
|
+
.tag_e873402ac[data-tone="warning"][data-selected="true"] {
|
|
210
209
|
background: var(--color-bg-fill-warning);
|
|
211
210
|
color: var(--color-text-on-warning);
|
|
212
211
|
}
|
|
213
212
|
|
|
214
213
|
/* Critical */
|
|
215
|
-
.
|
|
214
|
+
.tag_e873402ac[data-tone="critical"] {
|
|
216
215
|
background: var(--color-bg-critical-subtle);
|
|
217
216
|
color: var(--color-text-critical);
|
|
218
217
|
}
|
|
219
218
|
|
|
220
|
-
.
|
|
219
|
+
.tag_e873402ac[data-tone="critical"][data-interactive="true"]:hover:not(
|
|
221
220
|
[data-disabled="true"]
|
|
222
221
|
) {
|
|
223
222
|
background: var(--color-bg-critical-subtle-hover);
|
|
224
223
|
}
|
|
225
224
|
|
|
226
|
-
.
|
|
225
|
+
.tag_e873402ac[data-tone="critical"][data-interactive="true"]:active:not(
|
|
227
226
|
[data-disabled="true"]
|
|
228
227
|
) {
|
|
229
228
|
background: var(--color-bg-critical-subtle-active);
|
|
230
229
|
}
|
|
231
230
|
|
|
232
|
-
.
|
|
231
|
+
.tag_e873402ac[data-tone="critical"][data-selected="true"] {
|
|
233
232
|
background: var(--color-bg-fill-critical);
|
|
234
233
|
color: var(--color-text-on-critical);
|
|
235
234
|
}
|
|
236
235
|
|
|
237
236
|
/* Info */
|
|
238
|
-
.
|
|
237
|
+
.tag_e873402ac[data-tone="info"] {
|
|
239
238
|
background: var(--color-bg-info-subtle);
|
|
240
239
|
color: var(--color-text-info);
|
|
241
240
|
}
|
|
242
241
|
|
|
243
|
-
.
|
|
242
|
+
.tag_e873402ac[data-tone="info"][data-interactive="true"]:hover:not(
|
|
244
243
|
[data-disabled="true"]
|
|
245
244
|
) {
|
|
246
245
|
background: var(--color-bg-info-subtle-hover);
|
|
247
246
|
}
|
|
248
247
|
|
|
249
|
-
.
|
|
248
|
+
.tag_e873402ac[data-tone="info"][data-interactive="true"]:active:not(
|
|
250
249
|
[data-disabled="true"]
|
|
251
250
|
) {
|
|
252
251
|
background: var(--color-bg-info-subtle-active);
|
|
253
252
|
}
|
|
254
253
|
|
|
255
|
-
.
|
|
254
|
+
.tag_e873402ac[data-tone="info"][data-selected="true"] {
|
|
256
255
|
background: var(--color-bg-fill-info);
|
|
257
256
|
color: var(--color-text-on-info);
|
|
258
257
|
}
|
|
@@ -262,7 +261,7 @@ a.tag-content:focus-visible {
|
|
|
262
261
|
* =================================== */
|
|
263
262
|
|
|
264
263
|
/* Disabled */
|
|
265
|
-
.
|
|
264
|
+
.tag_e873402ac[data-disabled="true"] {
|
|
266
265
|
opacity: 0.5;
|
|
267
266
|
cursor: not-allowed;
|
|
268
267
|
pointer-events: none;
|
|
@@ -272,13 +271,13 @@ a.tag-content:focus-visible {
|
|
|
272
271
|
* Inner Elements
|
|
273
272
|
* =================================== */
|
|
274
273
|
|
|
275
|
-
.tag-
|
|
274
|
+
.tag-icon_e873402ac {
|
|
276
275
|
display: inline-flex;
|
|
277
276
|
align-items: center;
|
|
278
277
|
flex-shrink: 0;
|
|
279
278
|
}
|
|
280
279
|
|
|
281
|
-
.tag-
|
|
280
|
+
.tag-label_e873402ac {
|
|
282
281
|
flex: 1 1 auto;
|
|
283
282
|
min-width: 0;
|
|
284
283
|
overflow: hidden;
|
|
@@ -286,7 +285,7 @@ a.tag-content:focus-visible {
|
|
|
286
285
|
}
|
|
287
286
|
|
|
288
287
|
/* Accent bar */
|
|
289
|
-
.tag-
|
|
288
|
+
.tag-accent_e873402ac {
|
|
290
289
|
position: absolute;
|
|
291
290
|
left: 0;
|
|
292
291
|
top: 0;
|
|
@@ -297,7 +296,7 @@ a.tag-content:focus-visible {
|
|
|
297
296
|
}
|
|
298
297
|
|
|
299
298
|
/* Remove button */
|
|
300
|
-
.tag-
|
|
299
|
+
.tag-remove_e873402ac {
|
|
301
300
|
/* Reset */
|
|
302
301
|
appearance: none;
|
|
303
302
|
border: none;
|
|
@@ -330,23 +329,23 @@ a.tag-content:focus-visible {
|
|
|
330
329
|
background-color 0.15s ease;
|
|
331
330
|
}
|
|
332
331
|
|
|
333
|
-
.tag-
|
|
332
|
+
.tag-remove_e873402ac:hover:not(:disabled) {
|
|
334
333
|
opacity: 1;
|
|
335
334
|
background: rgba(0, 0, 0, 0.1);
|
|
336
335
|
}
|
|
337
336
|
|
|
338
|
-
.tag-
|
|
337
|
+
.tag-remove_e873402ac:focus-visible {
|
|
339
338
|
outline: none;
|
|
340
339
|
opacity: 1;
|
|
341
340
|
box-shadow: 0 0 0 2px var(--color-focus-ring-halo);
|
|
342
341
|
}
|
|
343
342
|
|
|
344
|
-
.tag-
|
|
343
|
+
.tag-remove_e873402ac:disabled {
|
|
345
344
|
cursor: not-allowed;
|
|
346
345
|
pointer-events: none;
|
|
347
346
|
}
|
|
348
347
|
|
|
349
348
|
/* Selected state remove button styling */
|
|
350
|
-
.
|
|
349
|
+
.tag_e873402ac[data-selected="true"] .tag-remove_e873402ac:hover:not(:disabled) {
|
|
351
350
|
background: rgba(255, 255, 255, 0.2);
|
|
352
351
|
}
|
package/dist/status/tag.js
CHANGED
|
@@ -66,7 +66,7 @@ class Tag extends Component {
|
|
|
66
66
|
}
|
|
67
67
|
};
|
|
68
68
|
static {
|
|
69
|
-
setComponentTemplate(precompileTemplate("<span class=\"
|
|
69
|
+
setComponentTemplate(precompileTemplate("<span class=\"tag_e873402ac\" style={{this.accentStyle}} data-tone={{this.tone}} data-size={{this.size}} data-selected={{if @selected \"true\"}} data-disabled={{if @disabled \"true\"}} data-has-accent={{if @color \"true\"}} data-removable={{if @onRemove \"true\"}} data-interactive={{if this.isInteractive \"true\"}} data-test-tag ...attributes>\n {{#if this.isValidHexColor}}\n <span class=\"tag-accent_e873402ac\" data-test-tag-accent></span>\n {{/if}}\n\n {{#if this.isLink}}\n <a class=\"tag-content_e873402ac e873402ac\" href={{@href}} tabindex={{if @disabled \"-1\"}} data-test-tag-link {{on \"click\" this.handleClick}} {{on \"keydown\" this.handleKeyDown}}>\n {{#if @icon}}\n <span class=\"tag-icon_e873402ac\" data-test-tag-icon><Icon @icon={{@icon}} @size={{this.iconSize}} /></span>\n {{/if}}\n <span class=\"tag-label_e873402ac\" data-test-tag-label>{{yield}}</span>\n </a>\n {{else if this.isInteractive}}\n <button type=\"button\" class=\"tag-content_e873402ac e873402ac\" disabled={{@disabled}} aria-pressed={{this.ariaPressed}} data-test-tag-button {{on \"click\" this.handleClick}} {{on \"keydown\" this.handleKeyDown}}>\n {{#if @icon}}\n <span class=\"tag-icon_e873402ac\" data-test-tag-icon><Icon @icon={{@icon}} @size={{this.iconSize}} /></span>\n {{/if}}\n <span class=\"tag-label_e873402ac\" data-test-tag-label>{{yield}}</span>\n </button>\n {{else}}\n <span class=\"tag-content_e873402ac\" tabindex={{if @onRemove \"0\"}} data-test-tag-content {{on \"keydown\" this.handleKeyDown}}>\n {{#if @icon}}\n <span class=\"tag-icon_e873402ac\" data-test-tag-icon><Icon @icon={{@icon}} @size={{this.iconSize}} /></span>\n {{/if}}\n <span class=\"tag-label_e873402ac\" data-test-tag-label>{{yield}}</span>\n </span>\n {{/if}}\n\n {{#if @onRemove}}\n <button type=\"button\" class=\"tag-remove_e873402ac e873402ac\" aria-label={{this.removeLabel}} disabled={{@disabled}} data-test-tag-remove {{on \"click\" this.handleRemove}}>\n <Icon @icon={{X}} @size={{this.iconSize}} />\n </button>\n {{/if}}\n</span>", {
|
|
70
70
|
strictMode: true,
|
|
71
71
|
scope: () => ({
|
|
72
72
|
on,
|
|
@@ -27,13 +27,16 @@
|
|
|
27
27
|
--font-weight-600: 600;
|
|
28
28
|
--font-weight-700: 700;
|
|
29
29
|
|
|
30
|
-
/* Line Heights -
|
|
31
|
-
--line-height-
|
|
32
|
-
--line-height-
|
|
33
|
-
--line-height-
|
|
34
|
-
--line-height-
|
|
35
|
-
--line-height-
|
|
36
|
-
--line-height-
|
|
30
|
+
/* Line Heights - Absolute scale (4px grid-aligned) */
|
|
31
|
+
--line-height-none: 1;
|
|
32
|
+
--line-height-16: 1rem; /* 16px */
|
|
33
|
+
--line-height-20: 1.25rem; /* 20px */
|
|
34
|
+
--line-height-24: 1.5rem; /* 24px */
|
|
35
|
+
--line-height-28: 1.75rem; /* 28px */
|
|
36
|
+
--line-height-32: 2rem; /* 32px */
|
|
37
|
+
--line-height-36: 2.25rem; /* 36px */
|
|
38
|
+
--line-height-40: 2.5rem; /* 40px */
|
|
39
|
+
--line-height-44: 2.75rem; /* 44px */
|
|
37
40
|
|
|
38
41
|
/* Letter Spacing */
|
|
39
42
|
--letter-spacing-tight: -0.05em;
|
|
@@ -20,10 +20,10 @@
|
|
|
20
20
|
--font-weight-semibold: var(--font-weight-600);
|
|
21
21
|
--font-weight-bold: var(--font-weight-700);
|
|
22
22
|
|
|
23
|
-
/* Line Height */
|
|
24
|
-
--line-height-tight: var(--line-height-
|
|
25
|
-
--line-height-normal: var(--line-height-
|
|
26
|
-
--line-height-relaxed: var(--line-height-
|
|
23
|
+
/* Line Height - Grid-aligned for body text sizes (11-14px) */
|
|
24
|
+
--line-height-tight: var(--line-height-16); /* 16px */
|
|
25
|
+
--line-height-normal: var(--line-height-20); /* 20px */
|
|
26
|
+
--line-height-relaxed: var(--line-height-24); /* 24px */
|
|
27
27
|
|
|
28
28
|
/* Letter Spacing */
|
|
29
29
|
--letter-spacing-tight: -0.025em;
|
package/dist/styles.css
CHANGED
|
@@ -172,13 +172,16 @@
|
|
|
172
172
|
--font-weight-600: 600;
|
|
173
173
|
--font-weight-700: 700;
|
|
174
174
|
|
|
175
|
-
/* Line Heights -
|
|
176
|
-
--line-height-
|
|
177
|
-
--line-height-
|
|
178
|
-
--line-height-
|
|
179
|
-
--line-height-
|
|
180
|
-
--line-height-
|
|
181
|
-
--line-height-
|
|
175
|
+
/* Line Heights - Absolute scale (4px grid-aligned) */
|
|
176
|
+
--line-height-none: 1;
|
|
177
|
+
--line-height-16: 1rem; /* 16px */
|
|
178
|
+
--line-height-20: 1.25rem; /* 20px */
|
|
179
|
+
--line-height-24: 1.5rem; /* 24px */
|
|
180
|
+
--line-height-28: 1.75rem; /* 28px */
|
|
181
|
+
--line-height-32: 2rem; /* 32px */
|
|
182
|
+
--line-height-36: 2.25rem; /* 36px */
|
|
183
|
+
--line-height-40: 2.5rem; /* 40px */
|
|
184
|
+
--line-height-44: 2.75rem; /* 44px */
|
|
182
185
|
|
|
183
186
|
/* Letter Spacing */
|
|
184
187
|
--letter-spacing-tight: -0.05em;
|
|
@@ -484,10 +487,10 @@
|
|
|
484
487
|
--font-weight-semibold: var(--font-weight-600);
|
|
485
488
|
--font-weight-bold: var(--font-weight-700);
|
|
486
489
|
|
|
487
|
-
/* Line Height */
|
|
488
|
-
--line-height-tight: var(--line-height-
|
|
489
|
-
--line-height-normal: var(--line-height-
|
|
490
|
-
--line-height-relaxed: var(--line-height-
|
|
490
|
+
/* Line Height - Grid-aligned for body text sizes (11-14px) */
|
|
491
|
+
--line-height-tight: var(--line-height-16); /* 16px */
|
|
492
|
+
--line-height-normal: var(--line-height-20); /* 20px */
|
|
493
|
+
--line-height-relaxed: var(--line-height-24); /* 24px */
|
|
491
494
|
|
|
492
495
|
/* Letter Spacing */
|
|
493
496
|
--letter-spacing-tight: -0.025em;
|
|
@@ -646,7 +649,7 @@ body {
|
|
|
646
649
|
font-family: var(--font-family-sans);
|
|
647
650
|
font-size: var(--font-size-13);
|
|
648
651
|
font-weight: var(--font-weight-400);
|
|
649
|
-
line-height: var(--line-height-
|
|
652
|
+
line-height: var(--line-height-normal);
|
|
650
653
|
}
|
|
651
654
|
|
|
652
655
|
/* Animations */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* <inline>/src/typography/heading-css-
|
|
1
|
+
/* <inline>/src/typography/heading-css-726c4c3109f2b741657733e1ba103c67.css */
|
|
2
2
|
|
|
3
3
|
.heading_e24a71ed2 {
|
|
4
4
|
margin: 0;
|
|
@@ -7,35 +7,35 @@
|
|
|
7
7
|
/* Size */
|
|
8
8
|
.heading_e24a71ed2[data-size="sm"] {
|
|
9
9
|
font-size: var(--font-size-sm);
|
|
10
|
-
line-height: var(--line-height-
|
|
10
|
+
line-height: var(--line-height-16);
|
|
11
11
|
}
|
|
12
12
|
.heading_e24a71ed2[data-size="md"] {
|
|
13
13
|
font-size: var(--font-size-md);
|
|
14
|
-
line-height: var(--line-height-
|
|
14
|
+
line-height: var(--line-height-16);
|
|
15
15
|
}
|
|
16
16
|
.heading_e24a71ed2[data-size="lg"] {
|
|
17
17
|
font-size: var(--font-size-lg);
|
|
18
|
-
line-height: var(--line-height-
|
|
18
|
+
line-height: var(--line-height-20);
|
|
19
19
|
}
|
|
20
20
|
.heading_e24a71ed2[data-size="xl"] {
|
|
21
21
|
font-size: var(--font-size-xl);
|
|
22
|
-
line-height: var(--line-height-
|
|
22
|
+
line-height: var(--line-height-20);
|
|
23
23
|
}
|
|
24
24
|
.heading_e24a71ed2[data-size="2xl"] {
|
|
25
25
|
font-size: var(--font-size-2xl);
|
|
26
|
-
line-height: var(--line-height-
|
|
26
|
+
line-height: var(--line-height-24);
|
|
27
27
|
}
|
|
28
28
|
.heading_e24a71ed2[data-size="3xl"] {
|
|
29
29
|
font-size: var(--font-size-3xl);
|
|
30
|
-
line-height: var(--line-height-
|
|
30
|
+
line-height: var(--line-height-24);
|
|
31
31
|
}
|
|
32
32
|
.heading_e24a71ed2[data-size="4xl"] {
|
|
33
33
|
font-size: var(--font-size-4xl);
|
|
34
|
-
line-height: var(--line-height-
|
|
34
|
+
line-height: var(--line-height-28);
|
|
35
35
|
}
|
|
36
36
|
.heading_e24a71ed2[data-size="5xl"] {
|
|
37
37
|
font-size: var(--font-size-5xl);
|
|
38
|
-
line-height: var(--line-height-
|
|
38
|
+
line-height: var(--line-height-36);
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
/* Weight */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./heading-css-
|
|
1
|
+
import "./heading-css-726c4c3109f2b741657733e1ba103c67.css"
|
|
2
2
|
import Component from '@glimmer/component';
|
|
3
3
|
import { element } from 'ember-element-helper';
|
|
4
4
|
import { precompileTemplate } from '@ember/template-compilation';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* <inline>/src/typography/text-css-
|
|
1
|
+
/* <inline>/src/typography/text-css-935f55e9cd74b06a5ce61330c4c79ef9.css */
|
|
2
2
|
|
|
3
3
|
.text_e5637097c {
|
|
4
4
|
margin: 0;
|
|
@@ -22,6 +22,11 @@
|
|
|
22
22
|
line-height: var(--line-height-normal);
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
+
/* Monospace */
|
|
26
|
+
.text_e5637097c[data-monospace="true"] {
|
|
27
|
+
font-family: var(--font-family-mono);
|
|
28
|
+
}
|
|
29
|
+
|
|
25
30
|
/* Weight */
|
|
26
31
|
.text_e5637097c[data-weight="regular"] {
|
|
27
32
|
font-weight: var(--font-weight-regular);
|
package/dist/typography/text.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./text-css-
|
|
1
|
+
import "./text-css-935f55e9cd74b06a5ce61330c4c79ef9.css"
|
|
2
2
|
import Component from '@glimmer/component';
|
|
3
3
|
import { element } from 'ember-element-helper';
|
|
4
4
|
import { or } from 'ember-truth-helpers';
|
|
@@ -43,6 +43,9 @@ class Text extends Component {
|
|
|
43
43
|
get weight() {
|
|
44
44
|
return this.args.weight ?? this.variantDefaults.weight;
|
|
45
45
|
}
|
|
46
|
+
get monospace() {
|
|
47
|
+
return this.args.monospace ?? false;
|
|
48
|
+
}
|
|
46
49
|
get tone() {
|
|
47
50
|
return this.args.tone ?? 'primary';
|
|
48
51
|
}
|
|
@@ -62,7 +65,7 @@ class Text extends Component {
|
|
|
62
65
|
return this.args.transform ?? 'none';
|
|
63
66
|
}
|
|
64
67
|
static {
|
|
65
|
-
setComponentTemplate(precompileTemplate("\n\n{{#let (element (or @as \"span\")) as |Tag|}}\n <Tag class=\"text_e5637097c\" data-size={{this.size}} data-weight={{this.weight}} data-tone={{this.tone}} data-align={{this.align}} data-truncate={{this.truncate}} data-max-lines={{@maxLines}} data-wrap={{this.wrap}} data-decoration={{this.decoration}} data-transform={{this.transform}} ...attributes>\n {{yield}}\n </Tag>\n{{/let}}", {
|
|
68
|
+
setComponentTemplate(precompileTemplate("\n\n{{#let (element (or @as \"span\")) as |Tag|}}\n <Tag class=\"text_e5637097c\" data-size={{this.size}} data-monospace={{if this.monospace \"true\"}} data-weight={{this.weight}} data-tone={{this.tone}} data-align={{this.align}} data-truncate={{this.truncate}} data-max-lines={{@maxLines}} data-wrap={{this.wrap}} data-decoration={{this.decoration}} data-transform={{this.transform}} ...attributes>\n {{yield}}\n </Tag>\n{{/let}}", {
|
|
66
69
|
strictMode: true,
|
|
67
70
|
scope: () => ({
|
|
68
71
|
element,
|