@pathscale/ui 0.0.142 → 0.0.143
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/components/accordion/index.d.ts +1 -1
- package/dist/components/alert/index.d.ts +1 -1
- package/dist/components/background/index.d.ts +1 -1
- package/dist/components/badge/index.d.ts +1 -1
- package/dist/components/bottom-sheet/BottomSheet.d.ts +1 -1
- package/dist/components/breadcrumbs/Breadcrumbs.d.ts +1 -1
- package/dist/components/breadcrumbs/index.d.ts +1 -0
- package/dist/components/button/index.d.ts +1 -1
- package/dist/components/card/index.d.ts +1 -1
- package/dist/components/chatbubble/index.d.ts +1 -1
- package/dist/components/checkbox/index.d.ts +1 -1
- package/dist/components/codemockup/CodeMockup.d.ts +1 -1
- package/dist/components/codemockup/index.d.ts +1 -1
- package/dist/components/collapse/index.d.ts +1 -1
- package/dist/components/confirm-dialog/ConfirmDialog.d.ts +3 -3
- package/dist/components/connectionstatus/ConnectionStatus.d.ts +2 -2
- package/dist/components/countdown/index.d.ts +1 -1
- package/dist/components/diff/index.d.ts +1 -1
- package/dist/components/divider/index.d.ts +1 -0
- package/dist/components/dropdown/index.d.ts +1 -0
- package/dist/components/dropdown-select/DropdownSelect.d.ts +2 -0
- package/dist/components/empty-state/EmptyState.d.ts +1 -0
- package/dist/components/fieldset/Fieldset.d.ts +11 -0
- package/dist/components/fieldset/index.d.ts +2 -0
- package/dist/components/fileinput/index.d.ts +1 -1
- package/dist/components/flex/index.d.ts +1 -1
- package/dist/components/grid/index.d.ts +1 -1
- package/dist/components/kbd/index.d.ts +1 -1
- package/dist/components/link/index.d.ts +1 -1
- package/dist/components/loading/index.d.ts +1 -1
- package/dist/components/mask/index.d.ts +1 -0
- package/dist/components/pagination/Pagination.d.ts +2 -1
- package/dist/components/progress/index.d.ts +1 -1
- package/dist/components/radialprogress/index.d.ts +1 -1
- package/dist/components/radio/index.d.ts +1 -1
- package/dist/components/radio-group/RadioGroup.d.ts +2 -1
- package/dist/components/radio-group/index.d.ts +2 -1
- package/dist/components/range/index.d.ts +1 -1
- package/dist/components/range-slider/RangeSlider.d.ts +5 -5
- package/dist/components/range-slider/index.d.ts +2 -2
- package/dist/components/select/index.d.ts +1 -1
- package/dist/components/skeleton/index.d.ts +1 -1
- package/dist/components/skip-link/SkipLink.d.ts +3 -3
- package/dist/components/stat-card/index.d.ts +1 -1
- package/dist/components/stats/index.d.ts +1 -1
- package/dist/components/steps/index.d.ts +1 -0
- package/dist/components/swap/index.d.ts +1 -1
- package/dist/components/switch-field/SwitchField.d.ts +19 -0
- package/dist/components/switch-field/index.d.ts +2 -0
- package/dist/components/textarea/index.d.ts +1 -1
- package/dist/components/timeline/Timeline.d.ts +1 -1
- package/dist/components/timeline/index.d.ts +1 -1
- package/dist/components/toast/index.d.ts +1 -1
- package/dist/components/toastcontainer/ToastContainer.d.ts +2 -1
- package/dist/components/toggle/index.d.ts +1 -1
- package/dist/components/tooltip/index.d.ts +1 -1
- package/dist/glow-card/GlowCard.css +9 -1
- package/dist/index.css +9 -1
- package/dist/index.d.ts +3 -8
- package/dist/index.js +402 -552
- package/dist/styles/icons/generated-icons.css +1 -1
- package/package.json +4 -3
- package/dist/components/duration-badge/DurationBadge.d.ts +0 -14
- package/dist/components/duration-badge/index.d.ts +0 -2
- package/dist/components/form-section/FormSection.d.ts +0 -9
- package/dist/components/form-section/index.d.ts +0 -2
- package/dist/components/form-status/FormStatus.d.ts +0 -10
- package/dist/components/form-status/index.d.ts +0 -2
- package/dist/components/level-meter/LevelMeter.d.ts +0 -10
- package/dist/components/level-meter/index.d.ts +0 -2
- package/dist/components/media-toggle-controls/MediaToggleControls.d.ts +0 -15
- package/dist/components/media-toggle-controls/index.d.ts +0 -2
- package/dist/components/section-card/SectionCard.d.ts +0 -10
- package/dist/components/section-card/index.d.ts +0 -2
- package/dist/components/toggle-setting/ToggleSetting.d.ts +0 -17
- package/dist/components/toggle-setting/index.d.ts +0 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
.iconify{background-color:currentColor;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%}.iconify,.iconify-color{display:inline-block;height:1em;width:1em}.iconify-color{background-repeat:no-repeat;background-size:100% 100%}.icon-[mdi--close]{--svg:url("data:image/svg+xml;charset=utf-8,%3Csvg width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='currentColor' d='M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z'/%3E%3C/svg%3E")}.icon-[mdi--close].iconify{-webkit-mask-image:var(--svg);mask-image:var(--svg)}.icon-[mdi--close].iconify-color{background-image:var(--svg)}.icon-[mdi--firefox]{--svg:url("data:image/svg+xml;charset=utf-8,%3Csvg width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='currentColor' d='M6.85 6.74q.015 0 0 0M21.28 8.6c-.43-1.05-1.32-2.18-2.01-2.54.56 1.11.89 2.22 1.02 3.04v.02c-1.13-2.82-3.05-3.96-4.62-6.44-.08-.12-.17-.25-.24-.38-.04-.07-.07-.14-.11-.21-.06-.13-.12-.26-.15-.4 0-.01-.01-.02-.02-.02h-.03c-2.22 1.3-3.15 3.59-3.38 5.04-.69.04-1.37.21-1.99.51-.12.05-.17.19-.13.31.05.14.21.21.34.15.54-.26 1.14-.41 1.74-.45h.05c.08-.01.17-.01.25-.01.5-.01.97.06 1.44.2l.06.02c.1.02.17.06.25.06.05.04.11.06.16.08l.14.06c.07.03.14.06.2.09.03.02.06.03.09.05.07.04.16.07.2.11.04.02.08.05.12.07.73.45 1.34 1.07 1.75 1.81-.53-.37-1.49-.74-2.41-.58 3.6 1.81 2.63 8-2.36 7.76-.44-.01-.88-.1-1.3-.25-.1-.03-.2-.07-.29-.12-.05-.02-.12-.05-.17-.08-1.23-.63-2.24-1.82-2.38-3.27 0 0 .5-1.73 3.33-1.73.31 0 1.17-.86 1.2-1.1 0-.09-1.74-.78-2.42-1.45-.37-.36-.54-.53-.69-.66-.08-.07-.17-.13-.26-.19a4.63 4.63 0 0 1-.03-2.45C7.6 6.12 6.8 6.86 6.22 7.5c-.4-.5-.37-2.15-.35-2.5-.01 0-.3.16-.33.18-.35.25-.68.53-.98.82-.35.37-.66.74-.94 1.14-.62.91-1.12 1.95-1.34 3.04 0 .01-.1.41-.17.92l-.03.23c-.02.17-.04.32-.08.58v.41c0 5.53 4.5 10.01 10 10.01 4.97 0 9.08-3.59 9.88-8.33.02-.11.03-.24.05-.37.2-1.72-.02-3.52-.65-5.03'/%3E%3C/svg%3E")}.icon-[mdi--firefox].iconify{-webkit-mask-image:var(--svg);mask-image:var(--svg)}.icon-[mdi--firefox].iconify-color{background-image:var(--svg)}.icon-[mdi--loading]{--svg:url("data:image/svg+xml;charset=utf-8,%3Csvg width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='currentColor' d='M12 4V2A10 10 0 0 0 2 12h2a8 8 0 0 1 8-8'/%3E%3C/svg%3E")}.icon-[mdi--loading].iconify{-webkit-mask-image:var(--svg);mask-image:var(--svg)}.icon-[mdi--loading].iconify-color{background-image:var(--svg)}.icon-[mdi--
|
|
1
|
+
.iconify{background-color:currentColor;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%}.iconify,.iconify-color{display:inline-block;height:1em;width:1em}.iconify-color{background-repeat:no-repeat;background-size:100% 100%}.icon-[mdi--close]{--svg:url("data:image/svg+xml;charset=utf-8,%3Csvg width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='currentColor' d='M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z'/%3E%3C/svg%3E")}.icon-[mdi--close].iconify{-webkit-mask-image:var(--svg);mask-image:var(--svg)}.icon-[mdi--close].iconify-color{background-image:var(--svg)}.icon-[mdi--firefox]{--svg:url("data:image/svg+xml;charset=utf-8,%3Csvg width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='currentColor' d='M6.85 6.74q.015 0 0 0M21.28 8.6c-.43-1.05-1.32-2.18-2.01-2.54.56 1.11.89 2.22 1.02 3.04v.02c-1.13-2.82-3.05-3.96-4.62-6.44-.08-.12-.17-.25-.24-.38-.04-.07-.07-.14-.11-.21-.06-.13-.12-.26-.15-.4 0-.01-.01-.02-.02-.02h-.03c-2.22 1.3-3.15 3.59-3.38 5.04-.69.04-1.37.21-1.99.51-.12.05-.17.19-.13.31.05.14.21.21.34.15.54-.26 1.14-.41 1.74-.45h.05c.08-.01.17-.01.25-.01.5-.01.97.06 1.44.2l.06.02c.1.02.17.06.25.06.05.04.11.06.16.08l.14.06c.07.03.14.06.2.09.03.02.06.03.09.05.07.04.16.07.2.11.04.02.08.05.12.07.73.45 1.34 1.07 1.75 1.81-.53-.37-1.49-.74-2.41-.58 3.6 1.81 2.63 8-2.36 7.76-.44-.01-.88-.1-1.3-.25-.1-.03-.2-.07-.29-.12-.05-.02-.12-.05-.17-.08-1.23-.63-2.24-1.82-2.38-3.27 0 0 .5-1.73 3.33-1.73.31 0 1.17-.86 1.2-1.1 0-.09-1.74-.78-2.42-1.45-.37-.36-.54-.53-.69-.66-.08-.07-.17-.13-.26-.19a4.63 4.63 0 0 1-.03-2.45C7.6 6.12 6.8 6.86 6.22 7.5c-.4-.5-.37-2.15-.35-2.5-.01 0-.3.16-.33.18-.35.25-.68.53-.98.82-.35.37-.66.74-.94 1.14-.62.91-1.12 1.95-1.34 3.04 0 .01-.1.41-.17.92l-.03.23c-.02.17-.04.32-.08.58v.41c0 5.53 4.5 10.01 10 10.01 4.97 0 9.08-3.59 9.88-8.33.02-.11.03-.24.05-.37.2-1.72-.02-3.52-.65-5.03'/%3E%3C/svg%3E")}.icon-[mdi--firefox].iconify{-webkit-mask-image:var(--svg);mask-image:var(--svg)}.icon-[mdi--firefox].iconify-color{background-image:var(--svg)}.icon-[mdi--loading]{--svg:url("data:image/svg+xml;charset=utf-8,%3Csvg width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='currentColor' d='M12 4V2A10 10 0 0 0 2 12h2a8 8 0 0 1 8-8'/%3E%3C/svg%3E")}.icon-[mdi--loading].iconify{-webkit-mask-image:var(--svg);mask-image:var(--svg)}.icon-[mdi--loading].iconify-color{background-image:var(--svg)}.icon-[mdi--palette]{--svg:url("data:image/svg+xml;charset=utf-8,%3Csvg width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='currentColor' d='M17.5 12a1.5 1.5 0 0 1-1.5-1.5A1.5 1.5 0 0 1 17.5 9a1.5 1.5 0 0 1 1.5 1.5 1.5 1.5 0 0 1-1.5 1.5m-3-4A1.5 1.5 0 0 1 13 6.5 1.5 1.5 0 0 1 14.5 5 1.5 1.5 0 0 1 16 6.5 1.5 1.5 0 0 1 14.5 8m-5 0A1.5 1.5 0 0 1 8 6.5 1.5 1.5 0 0 1 9.5 5 1.5 1.5 0 0 1 11 6.5 1.5 1.5 0 0 1 9.5 8m-3 4A1.5 1.5 0 0 1 5 10.5 1.5 1.5 0 0 1 6.5 9 1.5 1.5 0 0 1 8 10.5 1.5 1.5 0 0 1 6.5 12M12 3a9 9 0 0 0-9 9 9 9 0 0 0 9 9 1.5 1.5 0 0 0 1.5-1.5c0-.39-.15-.74-.39-1-.23-.27-.38-.62-.38-1a1.5 1.5 0 0 1 1.5-1.5H16a5 5 0 0 0 5-5c0-4.42-4.03-8-9-8'/%3E%3C/svg%3E")}.icon-[mdi--palette].iconify{-webkit-mask-image:var(--svg);mask-image:var(--svg)}.icon-[mdi--palette].iconify-color{background-image:var(--svg)}.icon-[mdi-light--chevron-down]{--svg:url("data:image/svg+xml;charset=utf-8,%3Csvg width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='currentColor' d='m5.84 9.59 5.66 5.66 5.66-5.66-.71-.7-4.95 4.95-4.95-4.95z'/%3E%3C/svg%3E")}.icon-[mdi-light--chevron-down].iconify{-webkit-mask-image:var(--svg);mask-image:var(--svg)}.icon-[mdi-light--chevron-down].iconify-color{background-image:var(--svg)}.icon-[mdi-light--chevron-left]{--svg:url("data:image/svg+xml;charset=utf-8,%3Csvg width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='currentColor' d='M14.41 18.16 8.75 12.5l5.66-5.66.7.71-4.95 4.95 4.95 4.95z'/%3E%3C/svg%3E")}.icon-[mdi-light--chevron-left].iconify{-webkit-mask-image:var(--svg);mask-image:var(--svg)}.icon-[mdi-light--chevron-left].iconify-color{background-image:var(--svg)}.icon-[mdi-light--chevron-right]{--svg:url("data:image/svg+xml;charset=utf-8,%3Csvg width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='currentColor' d='m8.59 18.16 5.66-5.66-5.66-5.66-.7.71 4.95 4.95-4.95 4.95z'/%3E%3C/svg%3E")}.icon-[mdi-light--chevron-right].iconify{-webkit-mask-image:var(--svg);mask-image:var(--svg)}.icon-[mdi-light--chevron-right].iconify-color{background-image:var(--svg)}.icon-[mdi-light--chevron-up]{--svg:url("data:image/svg+xml;charset=utf-8,%3Csvg width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='currentColor' d='m5.84 15.41 5.66-5.66 5.66 5.66-.71.7-4.95-4.95-4.95 4.95z'/%3E%3C/svg%3E")}.icon-[mdi-light--chevron-up].iconify{-webkit-mask-image:var(--svg);mask-image:var(--svg)}.icon-[mdi-light--chevron-up].iconify-color{background-image:var(--svg)}.icon-[mdi-light--eye]{--svg:url("data:image/svg+xml;charset=utf-8,%3Csvg width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='currentColor' d='M11.5 18c4 0 7.46-2.22 9.24-5.5C18.96 9.22 15.5 7 11.5 7s-7.46 2.22-9.24 5.5C4.04 15.78 7.5 18 11.5 18m0-12c4.56 0 8.5 2.65 10.36 6.5C20 16.35 16.06 19 11.5 19S3 16.35 1.14 12.5C3 8.65 6.94 6 11.5 6m0 2C14 8 16 10 16 12.5S14 17 11.5 17 7 15 7 12.5 9 8 11.5 8m0 1A3.5 3.5 0 0 0 8 12.5a3.5 3.5 0 0 0 3.5 3.5 3.5 3.5 0 0 0 3.5-3.5A3.5 3.5 0 0 0 11.5 9'/%3E%3C/svg%3E")}.icon-[mdi-light--eye].iconify{-webkit-mask-image:var(--svg);mask-image:var(--svg)}.icon-[mdi-light--eye].iconify-color{background-image:var(--svg)}.icon-[mdi-light--eye-off]{--svg:url("data:image/svg+xml;charset=utf-8,%3Csvg width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='currentColor' d='M2.54 4.71 3.25 4 20 20.75l-.71.71-3.34-3.35c-1.37.57-2.87.89-4.45.89-4.56 0-8.5-2.65-10.36-6.5.97-2 2.49-3.67 4.36-4.82zM11.5 18c1.29 0 2.53-.23 3.67-.66l-1.12-1.13c-.73.5-1.6.79-2.55.79C9 17 7 15 7 12.5c0-.95.29-1.82.79-2.55L6.24 8.41a10.64 10.64 0 0 0-3.98 4.09C4.04 15.78 7.5 18 11.5 18m9.24-5.5C18.96 9.22 15.5 7 11.5 7c-1.15 0-2.27.19-3.31.53l-.78-.78C8.68 6.26 10.06 6 11.5 6c4.56 0 8.5 2.65 10.36 6.5a11.47 11.47 0 0 1-4.07 4.63l-.72-.73c1.53-.96 2.8-2.3 3.67-3.9M11.5 8C14 8 16 10 16 12.5c0 .82-.22 1.58-.6 2.24l-.74-.74c.22-.46.34-.96.34-1.5A3.5 3.5 0 0 0 11.5 9c-.54 0-1.04.12-1.5.34l-.74-.74c.66-.38 1.42-.6 2.24-.6M8 12.5a3.5 3.5 0 0 0 3.5 3.5c.67 0 1.29-.19 1.82-.5L8.5 10.68c-.31.53-.5 1.15-.5 1.82'/%3E%3C/svg%3E")}.icon-[mdi-light--eye-off].iconify{-webkit-mask-image:var(--svg);mask-image:var(--svg)}.icon-[mdi-light--eye-off].iconify-color{background-image:var(--svg)}.icon-[mdi-light--unfold-more-horizontal]{--svg:url("data:image/svg+xml;charset=utf-8,%3Csvg width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='currentColor' d='m15.74 8.83-.7.71L11.5 6 7.96 9.54l-.7-.71 4.24-4.24zm0 7.34-4.24 4.24-4.24-4.24.7-.71L11.5 19l3.54-3.54z'/%3E%3C/svg%3E")}.icon-[mdi-light--unfold-more-horizontal].iconify{-webkit-mask-image:var(--svg);mask-image:var(--svg)}.icon-[mdi-light--unfold-more-horizontal].iconify-color{background-image:var(--svg)}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pathscale/ui",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.143",
|
|
4
4
|
"author": "pathscale",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -83,13 +83,14 @@
|
|
|
83
83
|
}
|
|
84
84
|
},
|
|
85
85
|
"scripts": {
|
|
86
|
-
"build": "rslib build && bun scripts/copy-css.js",
|
|
86
|
+
"build": "bun run scripts/check-contracts.ts && rslib build && bun scripts/copy-css.js",
|
|
87
87
|
"build:watch": "rslib build --watch",
|
|
88
88
|
"dev": "rslib dev",
|
|
89
89
|
"preview": "rslib preview",
|
|
90
90
|
"clean": "rm -rf dist node_modules",
|
|
91
91
|
"format": "bun biome format --write",
|
|
92
|
-
"lint": "bun biome lint --write"
|
|
92
|
+
"lint": "bun biome lint --write",
|
|
93
|
+
"check": "bun run scripts/check-contracts.ts"
|
|
93
94
|
},
|
|
94
95
|
"sideEffects": false,
|
|
95
96
|
"type": "module"
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { type JSX } from "solid-js";
|
|
2
|
-
import type { ComponentColor, IComponentBaseProps } from "../types";
|
|
3
|
-
export interface DurationBadgeProps extends IComponentBaseProps {
|
|
4
|
-
/** Duration in seconds */
|
|
5
|
-
duration: number;
|
|
6
|
-
/** Badge color, default "error" */
|
|
7
|
-
color?: ComponentColor;
|
|
8
|
-
/** Show pulsing dot, default true */
|
|
9
|
-
pulseDot?: boolean;
|
|
10
|
-
/** Optional label before the time */
|
|
11
|
-
label?: string;
|
|
12
|
-
}
|
|
13
|
-
declare const DurationBadge: (props: DurationBadgeProps) => JSX.Element;
|
|
14
|
-
export default DurationBadge;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { type JSX } from "solid-js";
|
|
2
|
-
import type { IComponentBaseProps, ComponentSize } from "../types";
|
|
3
|
-
export type FormSectionGap = ComponentSize | "none";
|
|
4
|
-
export type FormSectionProps = IComponentBaseProps & JSX.HTMLAttributes<HTMLDivElement> & {
|
|
5
|
-
title?: string;
|
|
6
|
-
gap?: FormSectionGap;
|
|
7
|
-
};
|
|
8
|
-
declare const FormSection: (props: FormSectionProps) => JSX.Element;
|
|
9
|
-
export default FormSection;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { type JSX, type Component } from "solid-js";
|
|
2
|
-
import type { IComponentBaseProps } from "../types";
|
|
3
|
-
export type FormStatusProps = IComponentBaseProps & Omit<JSX.HTMLAttributes<HTMLDivElement>, "role"> & {
|
|
4
|
-
error?: string | null;
|
|
5
|
-
success?: string | null;
|
|
6
|
-
loading?: boolean;
|
|
7
|
-
loadingMessage?: string;
|
|
8
|
-
};
|
|
9
|
-
declare const FormStatus: Component<FormStatusProps>;
|
|
10
|
-
export default FormStatus;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { JSX } from "solid-js";
|
|
2
|
-
import type { ComponentColor, IComponentBaseProps } from "../types";
|
|
3
|
-
export type LevelMeterProps = IComponentBaseProps & {
|
|
4
|
-
level: number;
|
|
5
|
-
color?: ComponentColor;
|
|
6
|
-
direction?: "vertical" | "horizontal";
|
|
7
|
-
"aria-label"?: string;
|
|
8
|
-
} & Omit<JSX.HTMLAttributes<HTMLDivElement>, "role">;
|
|
9
|
-
declare const LevelMeter: (props: LevelMeterProps) => JSX.Element;
|
|
10
|
-
export default LevelMeter;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { type Accessor, type Component } from "solid-js";
|
|
2
|
-
import type { ComponentSize, IComponentBaseProps } from "../types";
|
|
3
|
-
export interface MediaToggleControlsProps extends IComponentBaseProps {
|
|
4
|
-
isAudioEnabled: Accessor<boolean>;
|
|
5
|
-
isVideoEnabled: Accessor<boolean>;
|
|
6
|
-
onToggleAudio: () => void;
|
|
7
|
-
onToggleVideo: () => void;
|
|
8
|
-
size?: ComponentSize;
|
|
9
|
-
disabled?: boolean;
|
|
10
|
-
class?: string;
|
|
11
|
-
className?: string;
|
|
12
|
-
style?: any;
|
|
13
|
-
}
|
|
14
|
-
declare const MediaToggleControls: Component<MediaToggleControlsProps>;
|
|
15
|
-
export default MediaToggleControls;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { type JSX } from "solid-js";
|
|
2
|
-
import type { IComponentBaseProps } from "../types";
|
|
3
|
-
export type SectionCardPadding = "default" | "tight" | "none";
|
|
4
|
-
export type SectionCardProps = IComponentBaseProps & JSX.HTMLAttributes<HTMLElement> & {
|
|
5
|
-
title?: string;
|
|
6
|
-
actions?: JSX.Element;
|
|
7
|
-
padding?: SectionCardPadding;
|
|
8
|
-
};
|
|
9
|
-
declare const SectionCard: (props: SectionCardProps) => JSX.Element;
|
|
10
|
-
export default SectionCard;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { type JSX } from "solid-js";
|
|
2
|
-
import type { ComponentSize, IComponentBaseProps } from "../types";
|
|
3
|
-
type ToggleSettingBaseProps = {
|
|
4
|
-
label: string;
|
|
5
|
-
description?: string;
|
|
6
|
-
checked?: boolean;
|
|
7
|
-
onChange?: (checked: boolean) => void;
|
|
8
|
-
disabled?: boolean;
|
|
9
|
-
size?: ComponentSize;
|
|
10
|
-
dataTheme?: string;
|
|
11
|
-
class?: string;
|
|
12
|
-
className?: string;
|
|
13
|
-
style?: JSX.CSSProperties;
|
|
14
|
-
};
|
|
15
|
-
export type ToggleSettingProps = ToggleSettingBaseProps & IComponentBaseProps;
|
|
16
|
-
declare const ToggleSetting: (props: ToggleSettingProps) => JSX.Element;
|
|
17
|
-
export default ToggleSetting;
|