@carissa-io/theme-default 0.3.19 → 0.3.20
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/index.css +18 -0
- package/package.json +3 -3
- package/scss/index.scss +10 -0
package/dist/index.css
CHANGED
|
@@ -5830,6 +5830,24 @@ button.c-theme-switch:focus-visible {
|
|
|
5830
5830
|
min-height: 0;
|
|
5831
5831
|
}
|
|
5832
5832
|
|
|
5833
|
+
.c-prompt-input .c-prompt-input__input .c-input__box {
|
|
5834
|
+
border: 0;
|
|
5835
|
+
background: transparent;
|
|
5836
|
+
padding-top: 0.8125rem;
|
|
5837
|
+
padding-bottom: 0.8125rem;
|
|
5838
|
+
padding-left: 0.25rem;
|
|
5839
|
+
padding-right: 0.25rem;
|
|
5840
|
+
min-height: 0;
|
|
5841
|
+
}
|
|
5842
|
+
.c-prompt-input .c-prompt-input__input .c-input__box:focus-within {
|
|
5843
|
+
box-shadow: none;
|
|
5844
|
+
}
|
|
5845
|
+
|
|
5846
|
+
.c-prompt-input:focus-within {
|
|
5847
|
+
border-color: var(--c-focus);
|
|
5848
|
+
box-shadow: 0 0 0 1px var(--c-focus);
|
|
5849
|
+
}
|
|
5850
|
+
|
|
5833
5851
|
.c-prompt-input__send,
|
|
5834
5852
|
.c-prompt-input__stop {
|
|
5835
5853
|
flex: 0 0 auto;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@carissa-io/theme-default",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.20",
|
|
4
4
|
"description": "Carissa UI: the default theme (Swiss minimalism) as SCSS variable overrides of the Carissa components, with a compiled CSS build",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"style": "dist/index.css",
|
|
@@ -106,7 +106,7 @@
|
|
|
106
106
|
"@carissa-io/components-streaming-text": "^0.1.0",
|
|
107
107
|
"@carissa-io/components-message": "^0.1.0",
|
|
108
108
|
"@carissa-io/components-message-list": "^0.1.0",
|
|
109
|
-
"@carissa-io/components-prompt-input": "^0.1.
|
|
109
|
+
"@carissa-io/components-prompt-input": "^0.1.2",
|
|
110
110
|
"@carissa-io/components-suggested-prompts": "^0.1.0",
|
|
111
111
|
"@carissa-io/components-message-actions": "^0.1.0"
|
|
112
112
|
},
|
|
@@ -379,7 +379,7 @@
|
|
|
379
379
|
"@carissa-io/components-phone": "^0.1.0",
|
|
380
380
|
"@carissa-io/components-popover": "^0.1.1",
|
|
381
381
|
"@carissa-io/components-progress": "^0.1.0",
|
|
382
|
-
"@carissa-io/components-prompt-input": "^0.1.
|
|
382
|
+
"@carissa-io/components-prompt-input": "^0.1.2",
|
|
383
383
|
"@carissa-io/components-prose": "^0.1.0",
|
|
384
384
|
"@carissa-io/components-radio-group": "^0.1.1",
|
|
385
385
|
"@carissa-io/components-rating": "^0.1.0",
|
package/scss/index.scss
CHANGED
|
@@ -1828,6 +1828,16 @@
|
|
|
1828
1828
|
$c-prompt-input-actions-gap: 0.25rem,
|
|
1829
1829
|
$c-prompt-input-input-min-width: 0,
|
|
1830
1830
|
$c-prompt-input-input-resize: none,
|
|
1831
|
+
// One box, not a box in a box: the field inside is flat, as tall as the 44px send button on one line, and the composer's own
|
|
1832
|
+
// border shows the focus (the Input's ring is turned off inside it).
|
|
1833
|
+
$c-prompt-input-input-border: 0,
|
|
1834
|
+
$c-prompt-input-input-background: transparent,
|
|
1835
|
+
$c-prompt-input-input-padding-y: 0.8125rem,
|
|
1836
|
+
$c-prompt-input-input-padding-x: 0.25rem,
|
|
1837
|
+
$c-prompt-input-input-box-min-height: 0,
|
|
1838
|
+
$c-prompt-input-input-focus-shadow: none,
|
|
1839
|
+
$c-prompt-input-border-color-focus: $var-focus,
|
|
1840
|
+
$c-prompt-input-focus-shadow: 0 0 0 $focus-width $var-focus,
|
|
1831
1841
|
$c-prompt-input-disabled-opacity: 1
|
|
1832
1842
|
);
|
|
1833
1843
|
|