@stoa-dev/kit 1.1.1 → 1.2.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/README.md +2 -2
- package/dist/i18n/locales/at.json.js +7 -3
- package/dist/i18n/locales/at.json.js.map +1 -1
- package/dist/i18n/locales/de.json.js +10 -6
- package/dist/i18n/locales/de.json.js.map +1 -1
- package/dist/i18n/locales/en.json.js +14 -10
- package/dist/i18n/locales/en.json.js.map +1 -1
- package/dist/i18n/locales/it.json.js +7 -3
- package/dist/i18n/locales/it.json.js.map +1 -1
- package/dist/kit.css +1 -1
- package/dist/shell/ScrollToTop/index.js +80 -0
- package/dist/shell/ScrollToTop/index.js.map +1 -0
- package/dist/shell/index.js +34 -32
- package/dist/shell/index.js.map +1 -1
- package/dist/types/i18n/index.d.ts +116 -0
- package/dist/types/i18n/index.d.ts.map +1 -1
- package/dist/types/shell/ScrollToTop/index.d.ts +17 -0
- package/dist/types/shell/ScrollToTop/index.d.ts.map +1 -0
- package/dist/types/shell/index.d.ts +1 -0
- package/dist/types/shell/index.d.ts.map +1 -1
- package/dist/types/ui/audio-player/index.d.ts +30 -0
- package/dist/types/ui/audio-player/index.d.ts.map +1 -0
- package/dist/types/ui/file-viewer/index.d.ts +31 -0
- package/dist/types/ui/file-viewer/index.d.ts.map +1 -0
- package/dist/types/ui/index.d.ts +2 -0
- package/dist/types/ui/index.d.ts.map +1 -1
- package/dist/types/ui/input/index.d.ts.map +1 -1
- package/dist/ui/audio-player/AudioPlayer.module.scss.js +60 -0
- package/dist/ui/audio-player/AudioPlayer.module.scss.js.map +1 -0
- package/dist/ui/audio-player/index.js +323 -0
- package/dist/ui/audio-player/index.js.map +1 -0
- package/dist/ui/file-viewer/FileViewer.module.scss.js +56 -0
- package/dist/ui/file-viewer/FileViewer.module.scss.js.map +1 -0
- package/dist/ui/file-viewer/index.js +251 -0
- package/dist/ui/file-viewer/index.js.map +1 -0
- package/dist/ui/index.js +119 -114
- package/dist/ui/index.js.map +1 -1
- package/dist/ui/input/index.js +22 -21
- package/dist/ui/input/index.js.map +1 -1
- package/dist/ui/textarea/index.js +1 -1
- package/dist/ui/textarea/index.js.map +1 -1
- package/package.json +1 -1
- package/styles/instrument.css +3 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../src/ui/input/index.tsx"],"sourcesContent":["import {\n\ttype ComponentProps,\n\ttype ReactNode,\n\tuseEffect,\n\tuseId,\n\tuseRef,\n\tuseState,\n} from 'react'\n\nimport { cn } from '../../utils/cn'\n\ntype InputProps = ComponentProps<'input'> & {\n\t/** Accessible field name shown inside the empty input until focus. */\n\tlabel?: string\n\t/** Decorative icon shown inside the right edge of the input. */\n\ticon?: ReactNode\n\t/** Transition used for hover and focus. */\n\ttransitionStyle?: 'default' | 'fancy'\n\t/** Suggested values offered by the native input picker. */\n\tsuggestions?: readonly string[]\n}\n\nfunction Input({\n\tclassName,\n\ttype,\n\tlabel,\n\ticon,\n\ttransitionStyle = 'default',\n\tsuggestions,\n\tlist,\n\tplaceholder,\n\t'aria-label': ariaLabel,\n\tonFocus,\n\tonBlur,\n\t...props\n}: InputProps) {\n\tconst suggestionsId = useId()\n\tconst hasSuggestions = list === undefined && Boolean(suggestions?.length)\n\tconst [inlineText, setInlineText] = useState({\n\t\tfocused: false,\n\t\tshowingPlaceholder: false,\n\t})\n\tconst swapTimer = useRef<number | undefined>(undefined)\n\n\tuseEffect(() => () => window.clearTimeout(swapTimer.current), [])\n\n\tfunction updateInlineText(focused: boolean) {\n\t\twindow.clearTimeout(swapTimer.current)\n\t\tconst { showingPlaceholder } = inlineText\n\t\tif (\n\t\t\t!label ||\n\t\t\t!placeholder ||\n\t\t\tfocused === showingPlaceholder ||\n\t\t\twindow.matchMedia('(prefers-reduced-motion: reduce)').matches\n\t\t) {\n\t\t\tsetInlineText({ focused, showingPlaceholder: focused })\n\t\t\treturn\n\t\t}\n\n\t\tsetInlineText({ focused, showingPlaceholder })\n\t\t// Leave enough time for the outgoing text to fade before swapping it.\n\t\tswapTimer.current = window.setTimeout(() => {\n\t\t\tsetInlineText({ focused, showingPlaceholder: focused })\n\t\t}, 90)\n\t}\n\n\tconst hideInlineText =\n\t\tlabel &&\n\t\t(placeholder\n\t\t\t? inlineText.focused !== inlineText.showingPlaceholder\n\t\t\t: inlineText.focused)\n\n\tconst input = (\n\t\t<input\n\t\t\ttype={type}\n\t\t\tlist={hasSuggestions ? suggestionsId : list}\n\t\t\tdata-slot='input'\n\t\t\tdata-transition-style={transitionStyle}\n\t\t\tdata-has-icon={icon ? '' : undefined}\n\t\t\tdata-inline-label={\n\t\t\t\tlabel ? (hideInlineText ? 'hidden' : 'visible') : undefined\n\t\t\t}\n\t\t\tclassName={cn(\n\t\t\t\t'h-12 w-full min-w-0 rounded-lg border-[1.5px] border-foreground/35 bg-transparent px-3 py-1 text-sm transition-colors outline-none file:inline-flex file:h-6 file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:font-semibold placeholder:text-foreground/75 focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40',\n\t\t\t\ticon && 'peer pr-10',\n\t\t\t\tclassName,\n\t\t\t)}\n\t\t\taria-label={ariaLabel ?? label}\n\t\t\tplaceholder={\n\t\t\t\tinlineText.showingPlaceholder && placeholder\n\t\t\t\t\t? placeholder\n\t\t\t\t\t: label || placeholder\n\t\t\t}\n\t\t\tonFocus={(event) => {\n\t\t\t\tupdateInlineText(true)\n\t\t\t\tonFocus?.(event)\n\t\t\t}}\n\t\t\tonBlur={(event) => {\n\t\t\t\tupdateInlineText(false)\n\t\t\t\tonBlur?.(event)\n\t\t\t}}\n\t\t\t{...props}\n\t\t/>\n\t)\n\n\tconst field = icon ? (\n\t\t<div className='flex min-w-0 items-center'>\n\t\t\t{input}\n\t\t\t<span\n\t\t\t\taria-hidden='true'\n\t\t\t\tdata-slot='input-icon'\n\t\t\t\tclassName='pointer-events-none -ml-10 flex w-10 shrink-0 items-center justify-center text-foreground/75 peer-disabled:opacity-50 [&>svg]:size-[1.125rem]'\n\t\t\t>\n\t\t\t\t{icon}\n\t\t\t</span>\n\t\t</div>\n\t) : (\n\t\tinput\n\t)\n\n\treturn (\n\t\t<>\n\t\t\t{field}\n\t\t\t{hasSuggestions && (\n\t\t\t\t<datalist id={suggestionsId}>\n\t\t\t\t\t{Array.from(new Set(suggestions), (value) => (\n\t\t\t\t\t\t<option key={value} value={value} />\n\t\t\t\t\t))}\n\t\t\t\t</datalist>\n\t\t\t)}\n\t\t</>\n\t)\n}\n\nexport { Input, type InputProps }\n"],"names":["Input","className","type","label","icon","transitionStyle","suggestions","list","placeholder","ariaLabel","onFocus","onBlur","props","suggestionsId","useId","hasSuggestions","inlineText","setInlineText","useState","swapTimer","useRef","useEffect","updateInlineText","focused","showingPlaceholder","hideInlineText","input","jsx","cn","event","jsxs","Fragment","value"],"mappings":";;;AAsBA,SAASA,EAAM;AAAA,EACd,WAAAC;AAAA,EACA,MAAAC;AAAA,EACA,OAAAC;AAAA,EACA,MAAAC;AAAA,EACA,iBAAAC,IAAkB;AAAA,EAClB,aAAAC;AAAA,EACA,MAAAC;AAAA,EACA,aAAAC;AAAA,EACA,cAAcC;AAAA,EACd,SAAAC;AAAA,EACA,QAAAC;AAAA,EACA,GAAGC;AACJ,GAAe;AACd,QAAMC,IAAgBC,EAAA,GAChBC,IAAiBR,MAAS,UAAa,EAAQD,GAAa,QAC5D,CAACU,GAAYC,CAAa,IAAIC,EAAS;AAAA,IAC5C,SAAS;AAAA,IACT,oBAAoB;AAAA,EAAA,CACpB,GACKC,IAAYC,EAA2B,MAAS;AAEtD,EAAAC,EAAU,MAAM,MAAM,OAAO,aAAaF,EAAU,OAAO,GAAG,EAAE;AAEhE,WAASG,EAAiBC,GAAkB;AAC3C,WAAO,aAAaJ,EAAU,OAAO;AACrC,UAAM,EAAE,oBAAAK,MAAuBR;AAC/B,QACC,CAACb,KACD,CAACK,KACDe,MAAYC,KACZ,OAAO,WAAW,kCAAkC,EAAE,SACrD;AACD,MAAAP,EAAc,EAAE,SAAAM,GAAS,oBAAoBA,EAAA,CAAS;AACtD;AAAA,IACD;AAEA,IAAAN,EAAc,EAAE,SAAAM,GAAS,oBAAAC,GAAoB,GAE7CL,EAAU,UAAU,OAAO,WAAW,MAAM;AAC3C,MAAAF,EAAc,EAAE,SAAAM,GAAS,oBAAoBA,EAAA,CAAS;AAAA,IACvD,GAAG,EAAE;AAAA,EACN;AAEA,QAAME,IACLtB,MACCK,IACEQ,EAAW,YAAYA,EAAW,qBAClCA,EAAW,UAETU,IACL,gBAAAC;AAAA,IAAC;AAAA,IAAA;AAAA,MACA,
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../src/ui/input/index.tsx"],"sourcesContent":["import {\n\ttype ComponentProps,\n\ttype ReactNode,\n\tuseEffect,\n\tuseId,\n\tuseRef,\n\tuseState,\n} from 'react'\n\nimport { cn } from '../../utils/cn'\n\ntype InputProps = ComponentProps<'input'> & {\n\t/** Accessible field name shown inside the empty input until focus. */\n\tlabel?: string\n\t/** Decorative icon shown inside the right edge of the input. */\n\ticon?: ReactNode\n\t/** Transition used for hover and focus. */\n\ttransitionStyle?: 'default' | 'fancy'\n\t/** Suggested values offered by the native input picker. */\n\tsuggestions?: readonly string[]\n}\n\nfunction Input({\n\tclassName,\n\ttype,\n\tlabel,\n\ticon,\n\ttransitionStyle = 'default',\n\tsuggestions,\n\tlist,\n\tplaceholder,\n\t'aria-label': ariaLabel,\n\tonFocus,\n\tonBlur,\n\t...props\n}: InputProps) {\n\tconst suggestionsId = useId()\n\tconst hasSuggestions = list === undefined && Boolean(suggestions?.length)\n\tconst [inlineText, setInlineText] = useState({\n\t\tfocused: false,\n\t\tshowingPlaceholder: false,\n\t})\n\tconst swapTimer = useRef<number | undefined>(undefined)\n\n\tuseEffect(() => () => window.clearTimeout(swapTimer.current), [])\n\n\tfunction updateInlineText(focused: boolean) {\n\t\twindow.clearTimeout(swapTimer.current)\n\t\tconst { showingPlaceholder } = inlineText\n\t\tif (\n\t\t\t!label ||\n\t\t\t!placeholder ||\n\t\t\tfocused === showingPlaceholder ||\n\t\t\twindow.matchMedia('(prefers-reduced-motion: reduce)').matches\n\t\t) {\n\t\t\tsetInlineText({ focused, showingPlaceholder: focused })\n\t\t\treturn\n\t\t}\n\n\t\tsetInlineText({ focused, showingPlaceholder })\n\t\t// Leave enough time for the outgoing text to fade before swapping it.\n\t\tswapTimer.current = window.setTimeout(() => {\n\t\t\tsetInlineText({ focused, showingPlaceholder: focused })\n\t\t}, 90)\n\t}\n\n\tconst hideInlineText =\n\t\tlabel &&\n\t\t(placeholder\n\t\t\t? inlineText.focused !== inlineText.showingPlaceholder\n\t\t\t: inlineText.focused)\n\n\tconst showsHint = !label || (inlineText.showingPlaceholder && placeholder)\n\n\tconst input = (\n\t\t<input\n\t\t\ttype={type}\n\t\t\tlist={hasSuggestions ? suggestionsId : list}\n\t\t\tdata-slot='input'\n\t\t\tdata-transition-style={transitionStyle}\n\t\t\tdata-has-icon={icon ? '' : undefined}\n\t\t\tdata-inline-label={\n\t\t\t\tlabel ? (hideInlineText ? 'hidden' : 'visible') : undefined\n\t\t\t}\n\t\t\t// The placeholder carries either a hint (grey) or the inline label (dark).\n\t\t\tdata-placeholder-role={showsHint ? 'hint' : 'label'}\n\t\t\tclassName={cn(\n\t\t\t\t'h-12 w-full min-w-0 rounded-lg border-[1.5px] border-foreground/35 bg-transparent px-3 py-1 text-sm transition-colors outline-none file:inline-flex file:h-6 file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:font-semibold placeholder:text-muted-foreground data-[placeholder-role=label]:placeholder:text-foreground/75 focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40',\n\t\t\t\ticon && 'peer pr-10',\n\t\t\t\tclassName,\n\t\t\t)}\n\t\t\taria-label={ariaLabel ?? label}\n\t\t\tplaceholder={\n\t\t\t\tinlineText.showingPlaceholder && placeholder\n\t\t\t\t\t? placeholder\n\t\t\t\t\t: label || placeholder\n\t\t\t}\n\t\t\tonFocus={(event) => {\n\t\t\t\tupdateInlineText(true)\n\t\t\t\tonFocus?.(event)\n\t\t\t}}\n\t\t\tonBlur={(event) => {\n\t\t\t\tupdateInlineText(false)\n\t\t\t\tonBlur?.(event)\n\t\t\t}}\n\t\t\t{...props}\n\t\t/>\n\t)\n\n\tconst field = icon ? (\n\t\t<div className='flex min-w-0 items-center'>\n\t\t\t{input}\n\t\t\t<span\n\t\t\t\taria-hidden='true'\n\t\t\t\tdata-slot='input-icon'\n\t\t\t\tclassName='pointer-events-none -ml-10 flex w-10 shrink-0 items-center justify-center text-foreground/75 peer-disabled:opacity-50 [&>svg]:size-[1.125rem]'\n\t\t\t>\n\t\t\t\t{icon}\n\t\t\t</span>\n\t\t</div>\n\t) : (\n\t\tinput\n\t)\n\n\treturn (\n\t\t<>\n\t\t\t{field}\n\t\t\t{hasSuggestions && (\n\t\t\t\t<datalist id={suggestionsId}>\n\t\t\t\t\t{Array.from(new Set(suggestions), (value) => (\n\t\t\t\t\t\t<option key={value} value={value} />\n\t\t\t\t\t))}\n\t\t\t\t</datalist>\n\t\t\t)}\n\t\t</>\n\t)\n}\n\nexport { Input, type InputProps }\n"],"names":["Input","className","type","label","icon","transitionStyle","suggestions","list","placeholder","ariaLabel","onFocus","onBlur","props","suggestionsId","useId","hasSuggestions","inlineText","setInlineText","useState","swapTimer","useRef","useEffect","updateInlineText","focused","showingPlaceholder","hideInlineText","showsHint","input","jsx","cn","event","jsxs","Fragment","value"],"mappings":";;;AAsBA,SAASA,EAAM;AAAA,EACd,WAAAC;AAAA,EACA,MAAAC;AAAA,EACA,OAAAC;AAAA,EACA,MAAAC;AAAA,EACA,iBAAAC,IAAkB;AAAA,EAClB,aAAAC;AAAA,EACA,MAAAC;AAAA,EACA,aAAAC;AAAA,EACA,cAAcC;AAAA,EACd,SAAAC;AAAA,EACA,QAAAC;AAAA,EACA,GAAGC;AACJ,GAAe;AACd,QAAMC,IAAgBC,EAAA,GAChBC,IAAiBR,MAAS,UAAa,EAAQD,GAAa,QAC5D,CAACU,GAAYC,CAAa,IAAIC,EAAS;AAAA,IAC5C,SAAS;AAAA,IACT,oBAAoB;AAAA,EAAA,CACpB,GACKC,IAAYC,EAA2B,MAAS;AAEtD,EAAAC,EAAU,MAAM,MAAM,OAAO,aAAaF,EAAU,OAAO,GAAG,EAAE;AAEhE,WAASG,EAAiBC,GAAkB;AAC3C,WAAO,aAAaJ,EAAU,OAAO;AACrC,UAAM,EAAE,oBAAAK,MAAuBR;AAC/B,QACC,CAACb,KACD,CAACK,KACDe,MAAYC,KACZ,OAAO,WAAW,kCAAkC,EAAE,SACrD;AACD,MAAAP,EAAc,EAAE,SAAAM,GAAS,oBAAoBA,EAAA,CAAS;AACtD;AAAA,IACD;AAEA,IAAAN,EAAc,EAAE,SAAAM,GAAS,oBAAAC,GAAoB,GAE7CL,EAAU,UAAU,OAAO,WAAW,MAAM;AAC3C,MAAAF,EAAc,EAAE,SAAAM,GAAS,oBAAoBA,EAAA,CAAS;AAAA,IACvD,GAAG,EAAE;AAAA,EACN;AAEA,QAAME,IACLtB,MACCK,IACEQ,EAAW,YAAYA,EAAW,qBAClCA,EAAW,UAETU,IAAY,CAACvB,KAAUa,EAAW,sBAAsBR,GAExDmB,IACL,gBAAAC;AAAA,IAAC;AAAA,IAAA;AAAA,MACA,MAAA1B;AAAA,MACA,MAAMa,IAAiBF,IAAgBN;AAAA,MACvC,aAAU;AAAA,MACV,yBAAuBF;AAAA,MACvB,iBAAeD,IAAO,KAAK;AAAA,MAC3B,qBACCD,IAASsB,IAAiB,WAAW,YAAa;AAAA,MAGnD,yBAAuBC,IAAY,SAAS;AAAA,MAC5C,WAAWG;AAAA,QACV;AAAA,QACAzB,KAAQ;AAAA,QACRH;AAAA,MAAA;AAAA,MAED,cAAYQ,KAAaN;AAAA,MACzB,aACCa,EAAW,sBAAsBR,IAC9BA,IACAL,KAASK;AAAA,MAEb,SAAS,CAACsB,MAAU;AACnB,QAAAR,EAAiB,EAAI,GACrBZ,IAAUoB,CAAK;AAAA,MAChB;AAAA,MACA,QAAQ,CAACA,MAAU;AAClB,QAAAR,EAAiB,EAAK,GACtBX,IAASmB,CAAK;AAAA,MACf;AAAA,MACC,GAAGlB;AAAA,IAAA;AAAA,EAAA;AAmBN,SACC,gBAAAmB,EAAAC,GAAA,EACE,UAAA;AAAA,IAjBW5B,IACb,gBAAA2B,EAAC,OAAA,EAAI,WAAU,6BACb,UAAA;AAAA,MAAAJ;AAAA,MACD,gBAAAC;AAAA,QAAC;AAAA,QAAA;AAAA,UACA,eAAY;AAAA,UACZ,aAAU;AAAA,UACV,WAAU;AAAA,UAET,UAAAxB;AAAA,QAAA;AAAA,MAAA;AAAA,IACF,EAAA,CACD,IAEAuB;AAAA,IAMEZ,KACA,gBAAAa,EAAC,YAAA,EAAS,IAAIf,GACZ,UAAA,MAAM,KAAK,IAAI,IAAIP,CAAW,GAAG,CAAC2B,MAClC,gBAAAL,EAAC,YAAmB,OAAAK,EAAA,GAAPA,CAAqB,CAClC,EAAA,CACF;AAAA,EAAA,GAEF;AAEF;"}
|
|
@@ -6,7 +6,7 @@ function n({ className: r, ...i }) {
|
|
|
6
6
|
{
|
|
7
7
|
"data-slot": "textarea",
|
|
8
8
|
className: a(
|
|
9
|
-
"flex field-sizing-content min-h-16 w-full rounded-lg border-[1.5px] border-foreground/35 bg-transparent px-3 py-2 text-sm transition-colors outline-none placeholder:font-semibold placeholder:text-foreground
|
|
9
|
+
"flex field-sizing-content min-h-16 w-full rounded-lg border-[1.5px] border-foreground/35 bg-transparent px-3 py-2 text-sm transition-colors outline-none placeholder:font-semibold placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40",
|
|
10
10
|
r
|
|
11
11
|
),
|
|
12
12
|
...i
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../src/ui/textarea/index.tsx"],"sourcesContent":["import type * as React from 'react'\n\nimport { cn } from '../../utils/cn'\n\nfunction Textarea({ className, ...props }: React.ComponentProps<'textarea'>) {\n\treturn (\n\t\t<textarea\n\t\t\tdata-slot='textarea'\n\t\t\tclassName={cn(\n\t\t\t\t'flex field-sizing-content min-h-16 w-full rounded-lg border-[1.5px] border-foreground/35 bg-transparent px-3 py-2 text-sm transition-colors outline-none placeholder:font-semibold placeholder:text-foreground
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../src/ui/textarea/index.tsx"],"sourcesContent":["import type * as React from 'react'\n\nimport { cn } from '../../utils/cn'\n\nfunction Textarea({ className, ...props }: React.ComponentProps<'textarea'>) {\n\treturn (\n\t\t<textarea\n\t\t\tdata-slot='textarea'\n\t\t\tclassName={cn(\n\t\t\t\t'flex field-sizing-content min-h-16 w-full rounded-lg border-[1.5px] border-foreground/35 bg-transparent px-3 py-2 text-sm transition-colors outline-none placeholder:font-semibold placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40',\n\t\t\t\tclassName,\n\t\t\t)}\n\t\t\t{...props}\n\t\t/>\n\t)\n}\n\nexport { Textarea }\n"],"names":["Textarea","className","props","jsx","cn"],"mappings":";;AAIA,SAASA,EAAS,EAAE,WAAAC,GAAW,GAAGC,KAA2C;AAC5E,SACC,gBAAAC;AAAA,IAAC;AAAA,IAAA;AAAA,MACA,aAAU;AAAA,MACV,WAAWC;AAAA,QACV;AAAA,QACAH;AAAA,MAAA;AAAA,MAEA,GAAGC;AAAA,IAAA;AAAA,EAAA;AAGP;"}
|
package/package.json
CHANGED
package/styles/instrument.css
CHANGED
|
@@ -23,9 +23,9 @@
|
|
|
23
23
|
--paper: #f4f4f2;
|
|
24
24
|
--background: #dfdfdc;
|
|
25
25
|
--foreground: var(--ink);
|
|
26
|
-
--card:
|
|
26
|
+
--card: var(--light);
|
|
27
27
|
--card-foreground: var(--ink);
|
|
28
|
-
--popover: var(--
|
|
28
|
+
--popover: var(--light);
|
|
29
29
|
--popover-foreground: var(--ink);
|
|
30
30
|
--primary: var(--ink);
|
|
31
31
|
--primary-foreground: var(--paper);
|
|
@@ -200,6 +200,7 @@
|
|
|
200
200
|
[data-slot="tag-input"]
|
|
201
201
|
) {
|
|
202
202
|
border: var(--stroke) solid var(--input);
|
|
203
|
+
/* border-radius: .1rem; */
|
|
203
204
|
border-radius: 0.875rem;
|
|
204
205
|
box-shadow: none;
|
|
205
206
|
}
|