origam 2.37.8 → 2.37.10
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/CHANGELOG.md +21 -0
- package/dist/src/assets/css/main.css +1 -1
- package/dist/src/assets/css/tokens/dark.css +2 -0
- package/dist/src/assets/css/tokens/light.css +1 -0
- package/dist/src/assets/scss/tokens/_dark.scss +2 -0
- package/dist/src/assets/scss/tokens/_light.scss +1 -0
- package/dist/src/components/Btn/OrigamBtn.vue +8 -1
- package/dist/src/components/FileField/OrigamFileField.vue +2 -2
- package/dist/src/components/PasswordField/OrigamPasswordField.vue +2 -2
- package/dist/src/components/TextField/OrigamTextField.vue +2 -2
- package/dist/src/components/TextareaField/OrigamTextareaField.vue +2 -2
- package/dist/src/types/tokens.type.d.ts +1 -1
- package/package.json +1 -1
|
@@ -338,6 +338,7 @@
|
|
|
338
338
|
--origam-btn---box-shadow-elevated: var(--origam-shadow---md);
|
|
339
339
|
--origam-btn---background-color-tonal: var(--origam-color__surface---overlay);
|
|
340
340
|
--origam-btn---background-color-tonal-active: var(--origam-color__surface---raised);
|
|
341
|
+
--origam-btn---background-color-text-active: transparent;
|
|
341
342
|
--origam-btn---box-shadow-tonal-active: var(--origam-shadow---xs);
|
|
342
343
|
--origam-btn---border-width-outlined: var(--origam-border__width---thin);
|
|
343
344
|
--origam-btn---border-width-ghost: var(--origam-border__width---thin);
|
|
@@ -3359,6 +3360,7 @@
|
|
|
3359
3360
|
--origam-btn---box-shadow-elevated: var(--origam-shadow---md);
|
|
3360
3361
|
--origam-btn---background-color-tonal: var(--origam-color__surface---overlay);
|
|
3361
3362
|
--origam-btn---background-color-tonal-active: var(--origam-color__surface---raised);
|
|
3363
|
+
--origam-btn---background-color-text-active: transparent;
|
|
3362
3364
|
--origam-btn---box-shadow-tonal-active: var(--origam-shadow---xs);
|
|
3363
3365
|
--origam-btn---border-width-outlined: var(--origam-border__width---thin);
|
|
3364
3366
|
--origam-btn---border-width-ghost: var(--origam-border__width---thin);
|
|
@@ -238,6 +238,7 @@
|
|
|
238
238
|
--origam-btn---box-shadow-elevated: var(--origam-shadow---md);
|
|
239
239
|
--origam-btn---background-color-tonal: var(--origam-color__surface---overlay);
|
|
240
240
|
--origam-btn---background-color-tonal-active: var(--origam-color__surface---raised);
|
|
241
|
+
--origam-btn---background-color-text-active: transparent;
|
|
241
242
|
--origam-btn---box-shadow-tonal-active: var(--origam-shadow---xs);
|
|
242
243
|
--origam-btn---border-width-outlined: var(--origam-border__width---thin);
|
|
243
244
|
--origam-btn---border-width-ghost: var(--origam-border__width---thin);
|
|
@@ -338,6 +338,7 @@
|
|
|
338
338
|
--origam-btn---box-shadow-elevated: var(--origam-shadow---md);
|
|
339
339
|
--origam-btn---background-color-tonal: var(--origam-color__surface---overlay);
|
|
340
340
|
--origam-btn---background-color-tonal-active: var(--origam-color__surface---raised);
|
|
341
|
+
--origam-btn---background-color-text-active: transparent;
|
|
341
342
|
--origam-btn---box-shadow-tonal-active: var(--origam-shadow---xs);
|
|
342
343
|
--origam-btn---border-width-outlined: var(--origam-border__width---thin);
|
|
343
344
|
--origam-btn---border-width-ghost: var(--origam-border__width---thin);
|
|
@@ -3359,6 +3360,7 @@
|
|
|
3359
3360
|
--origam-btn---box-shadow-elevated: var(--origam-shadow---md);
|
|
3360
3361
|
--origam-btn---background-color-tonal: var(--origam-color__surface---overlay);
|
|
3361
3362
|
--origam-btn---background-color-tonal-active: var(--origam-color__surface---raised);
|
|
3363
|
+
--origam-btn---background-color-text-active: transparent;
|
|
3362
3364
|
--origam-btn---box-shadow-tonal-active: var(--origam-shadow---xs);
|
|
3363
3365
|
--origam-btn---border-width-outlined: var(--origam-border__width---thin);
|
|
3364
3366
|
--origam-btn---border-width-ghost: var(--origam-border__width---thin);
|
|
@@ -238,6 +238,7 @@
|
|
|
238
238
|
--origam-btn---box-shadow-elevated: var(--origam-shadow---md);
|
|
239
239
|
--origam-btn---background-color-tonal: var(--origam-color__surface---overlay);
|
|
240
240
|
--origam-btn---background-color-tonal-active: var(--origam-color__surface---raised);
|
|
241
|
+
--origam-btn---background-color-text-active: transparent;
|
|
241
242
|
--origam-btn---box-shadow-tonal-active: var(--origam-shadow---xs);
|
|
242
243
|
--origam-btn---border-width-outlined: var(--origam-border__width---thin);
|
|
243
244
|
--origam-btn---border-width-ghost: var(--origam-border__width---thin);
|
|
@@ -790,8 +790,15 @@ defineExpose({
|
|
|
790
790
|
}
|
|
791
791
|
|
|
792
792
|
&--variant-text {
|
|
793
|
-
background-color: transparent
|
|
793
|
+
background-color: transparent;
|
|
794
794
|
box-shadow: none;
|
|
795
|
+
|
|
796
|
+
// #1222 — active fill is opt-in: `-background-color-text-active` is
|
|
797
|
+
// NOT declared in the sheets (like `-background-color-active` on
|
|
798
|
+
// outlined), so the default render stays transparent.
|
|
799
|
+
&#{$this}--active {
|
|
800
|
+
background-color: var(--origam-btn---background-color-text-active, transparent);
|
|
801
|
+
}
|
|
795
802
|
}
|
|
796
803
|
|
|
797
804
|
&--variant-elevated {
|
|
@@ -191,14 +191,14 @@
|
|
|
191
191
|
<slot name="prefix"/>
|
|
192
192
|
</template>
|
|
193
193
|
|
|
194
|
-
<template #default="{class: fieldSlotClass, ref, ...fieldSlotProps}">
|
|
194
|
+
<template #default="{class: fieldSlotClass, ref, isActive: fieldIsActive, isFocused: fieldIsFocused, ...fieldSlotProps}">
|
|
195
195
|
<div
|
|
196
196
|
:class="fieldSlotClass"
|
|
197
197
|
data-no-activator=""
|
|
198
198
|
>
|
|
199
199
|
<slot
|
|
200
200
|
name="default"
|
|
201
|
-
v-bind="{ref, ...fieldSlotProps}"
|
|
201
|
+
v-bind="{ref, isActive: fieldIsActive, isFocused: fieldIsFocused, ...fieldSlotProps}"
|
|
202
202
|
/>
|
|
203
203
|
<input
|
|
204
204
|
ref="inputRef"
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
<slot name="prefix"/>
|
|
73
73
|
</template>
|
|
74
74
|
|
|
75
|
-
<template #default="{class: fieldSlotClass, ref, ...fieldSlotProps}">
|
|
75
|
+
<template #default="{class: fieldSlotClass, ref, isActive: fieldIsActive, isFocused: fieldIsFocused, ...fieldSlotProps}">
|
|
76
76
|
<div
|
|
77
77
|
:class="fieldSlotClass"
|
|
78
78
|
data-no-activator=""
|
|
@@ -120,7 +120,7 @@
|
|
|
120
120
|
</origam-menu>
|
|
121
121
|
<slot
|
|
122
122
|
name="default"
|
|
123
|
-
v-bind="{ref, ...fieldSlotProps}"
|
|
123
|
+
v-bind="{ref, isActive: fieldIsActive, isFocused: fieldIsFocused, ...fieldSlotProps}"
|
|
124
124
|
/>
|
|
125
125
|
<input
|
|
126
126
|
ref="inputRef"
|
|
@@ -72,14 +72,14 @@
|
|
|
72
72
|
<slot name="prefix"/>
|
|
73
73
|
</template>
|
|
74
74
|
|
|
75
|
-
<template #default="{class: fieldSlotClass, ref, ...fieldSlotProps}">
|
|
75
|
+
<template #default="{class: fieldSlotClass, ref, isActive: fieldIsActive, isFocused: fieldIsFocused, ...fieldSlotProps}">
|
|
76
76
|
<div
|
|
77
77
|
:class="fieldSlotClass"
|
|
78
78
|
data-no-activator=""
|
|
79
79
|
>
|
|
80
80
|
<slot
|
|
81
81
|
name="default"
|
|
82
|
-
v-bind="{ref, ...fieldSlotProps}"
|
|
82
|
+
v-bind="{ref, isActive: fieldIsActive, isFocused: fieldIsFocused, ...fieldSlotProps}"
|
|
83
83
|
/>
|
|
84
84
|
<input
|
|
85
85
|
ref="inputRef"
|
|
@@ -70,14 +70,14 @@
|
|
|
70
70
|
<slot name="prefix"/>
|
|
71
71
|
</template>
|
|
72
72
|
|
|
73
|
-
<template #default="{class: fieldSlotClass, ref, ...fieldSlotProps}">
|
|
73
|
+
<template #default="{class: fieldSlotClass, ref, isActive: fieldIsActive, isFocused: fieldIsFocused, ...fieldSlotProps}">
|
|
74
74
|
<div
|
|
75
75
|
:class="fieldSlotClass"
|
|
76
76
|
data-no-activator=""
|
|
77
77
|
>
|
|
78
78
|
<slot
|
|
79
79
|
name="default"
|
|
80
|
-
v-bind="{ref, ...fieldSlotProps}"
|
|
80
|
+
v-bind="{ref, isActive: fieldIsActive, isFocused: fieldIsFocused, ...fieldSlotProps}"
|
|
81
81
|
/>
|
|
82
82
|
<template v-if="isRichMode">
|
|
83
83
|
<slot
|