@grandbazar/ui-baza 1.2.18 → 1.2.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.cjs +32 -7
- package/dist/index.d.ts +6 -0
- package/dist/index.js +32 -8
- package/dist/style.css +12 -11
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -976,6 +976,30 @@ function IconSwitch(props) {
|
|
|
976
976
|
] });
|
|
977
977
|
}
|
|
978
978
|
|
|
979
|
+
function IconTrash(props) {
|
|
980
|
+
return /* @__PURE__ */ jsxRuntime.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none", ...props, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
981
|
+
"path",
|
|
982
|
+
{
|
|
983
|
+
d: "M14.7404 9L14.3942 18M9.60577 18L9.25962 9M4.77235 5.79057C5.91878 5.61744 7.07849 5.48485 8.25 5.39432C9.48744 5.2987 10.738 5.25 12 5.25C13.262 5.25 14.5126 5.2987 15.75 5.39432C16.9215 5.48485 18.0812 5.61744 19.2276 5.79057C19.5696 5.84221 19.9104 5.89747 20.25 5.95629M19.2276 5.79057L18.1598 19.6726C18.0696 20.8448 17.0921 21.75 15.9164 21.75H8.08357C6.90786 21.75 5.93037 20.8448 5.8402 19.6726L4.77235 5.79057M3.75 5.95629C4.08957 5.89747 4.43037 5.84221 4.77235 5.79057M15.75 5.39432V4.47819C15.75 3.29882 14.8393 2.31423 13.6606 2.27652C13.1092 2.25889 12.5556 2.25 12 2.25C11.4444 2.25 10.8908 2.25889 10.3394 2.27652C9.16065 2.31423 8.25 3.29882 8.25 4.47819V5.39432",
|
|
984
|
+
stroke: "currentColor",
|
|
985
|
+
strokeWidth: "1.5",
|
|
986
|
+
strokeLinecap: "round",
|
|
987
|
+
strokeLinejoin: "round"
|
|
988
|
+
}
|
|
989
|
+
) });
|
|
990
|
+
}
|
|
991
|
+
IconTrash.Filled = function IconTrashFilled(props) {
|
|
992
|
+
return /* @__PURE__ */ jsxRuntime.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none", ...props, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
993
|
+
"path",
|
|
994
|
+
{
|
|
995
|
+
fillRule: "evenodd",
|
|
996
|
+
clipRule: "evenodd",
|
|
997
|
+
d: "M16.5001 4.47819V4.70498C17.4548 4.79237 18.4017 4.90731 19.3398 5.04898C19.6871 5.10143 20.0332 5.15755 20.3781 5.2173C20.7863 5.28799 21.0598 5.67617 20.9891 6.0843C20.9184 6.49244 20.5302 6.76598 20.1221 6.69529C20.0525 6.68323 19.9829 6.67132 19.9131 6.65957L18.9077 19.7301C18.7875 21.2931 17.4842 22.5 15.9166 22.5H8.08369C6.51608 22.5 5.21276 21.2931 5.09253 19.7301L4.0871 6.65957C4.0174 6.67132 3.94774 6.68323 3.87813 6.69529C3.47 6.76598 3.08183 6.49244 3.01113 6.0843C2.94043 5.67617 3.21398 5.28799 3.62211 5.2173C3.96701 5.15755 4.31315 5.10143 4.66048 5.04898C5.59858 4.90731 6.5454 4.79237 7.50012 4.70498V4.47819C7.50012 2.91371 8.71265 1.57818 10.3156 1.52691C10.8749 1.50901 11.4365 1.5 12.0001 1.5C12.5638 1.5 13.1253 1.50901 13.6847 1.52691C15.2876 1.57818 16.5001 2.91371 16.5001 4.47819ZM10.3635 3.02614C10.9069 3.00876 11.4525 3 12.0001 3C12.5478 3 13.0934 3.00876 13.6367 3.02614C14.3913 3.05028 15.0001 3.68393 15.0001 4.47819V4.59082C14.0078 4.53056 13.0075 4.5 12.0001 4.5C10.9928 4.5 9.99249 4.53056 9.00012 4.59082V4.47819C9.00012 3.68393 9.6089 3.05028 10.3635 3.02614ZM10.0087 8.97118C9.9928 8.55727 9.64436 8.23463 9.23045 8.25055C8.81654 8.26647 8.49391 8.61492 8.50983 9.02882L8.85599 18.0288C8.8719 18.4427 9.22035 18.7654 9.63426 18.7494C10.0482 18.7335 10.3708 18.3851 10.3549 17.9712L10.0087 8.97118ZM15.4895 9.02882C15.5054 8.61492 15.1828 8.26647 14.7689 8.25055C14.355 8.23463 14.0065 8.55727 13.9906 8.97118L13.6444 17.9712C13.6285 18.3851 13.9512 18.7335 14.3651 18.7494C14.779 18.7654 15.1274 18.4427 15.1433 18.0288L15.4895 9.02882Z",
|
|
998
|
+
fill: "currentColor"
|
|
999
|
+
}
|
|
1000
|
+
) });
|
|
1001
|
+
};
|
|
1002
|
+
|
|
979
1003
|
function IconXMark(props) {
|
|
980
1004
|
return /* @__PURE__ */ jsxRuntime.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none", ...props, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
981
1005
|
"path",
|
|
@@ -2672,13 +2696,13 @@ function SegmentControl(props) {
|
|
|
2672
2696
|
}
|
|
2673
2697
|
SegmentControl.Item = SegmentControlItem;
|
|
2674
2698
|
|
|
2675
|
-
const stepper = "
|
|
2676
|
-
const sm$1 = "
|
|
2677
|
-
const md$1 = "
|
|
2678
|
-
const lg = "
|
|
2679
|
-
const primary$1 = "
|
|
2680
|
-
const secondary$1 = "
|
|
2681
|
-
const value = "
|
|
2699
|
+
const stepper = "_stepper_103n3_2";
|
|
2700
|
+
const sm$1 = "_sm_103n3_10";
|
|
2701
|
+
const md$1 = "_md_103n3_17";
|
|
2702
|
+
const lg = "_lg_103n3_24";
|
|
2703
|
+
const primary$1 = "_primary_103n3_31";
|
|
2704
|
+
const secondary$1 = "_secondary_103n3_41";
|
|
2705
|
+
const value = "_value_103n3_50";
|
|
2682
2706
|
const styles$5 = {
|
|
2683
2707
|
stepper: stepper,
|
|
2684
2708
|
sm: sm$1,
|
|
@@ -3056,6 +3080,7 @@ exports.IconStar = IconStar;
|
|
|
3056
3080
|
exports.IconSticker = IconSticker;
|
|
3057
3081
|
exports.IconStop = IconStop;
|
|
3058
3082
|
exports.IconSwitch = IconSwitch;
|
|
3083
|
+
exports.IconTrash = IconTrash;
|
|
3059
3084
|
exports.IconXMark = IconXMark;
|
|
3060
3085
|
exports.IconXMarkCircle = IconXMarkCircle;
|
|
3061
3086
|
exports.LOCALE_FIRST_DAY_OF_WEEK = LOCALE_FIRST_DAY_OF_WEEK;
|
package/dist/index.d.ts
CHANGED
|
@@ -371,6 +371,12 @@ export declare function IconStop(props: TSvgIconProps): JSX.Element;
|
|
|
371
371
|
|
|
372
372
|
export declare function IconSwitch(props: TSvgIconProps): JSX.Element;
|
|
373
373
|
|
|
374
|
+
export declare function IconTrash(props: TSvgIconProps): JSX.Element;
|
|
375
|
+
|
|
376
|
+
export declare namespace IconTrash {
|
|
377
|
+
var Filled: (props: TSvgIconProps) => JSX.Element;
|
|
378
|
+
}
|
|
379
|
+
|
|
374
380
|
export declare function IconXMark(props: TSvgIconProps): JSX.Element;
|
|
375
381
|
|
|
376
382
|
export declare namespace IconXMark {
|
package/dist/index.js
CHANGED
|
@@ -972,6 +972,30 @@ function IconSwitch(props) {
|
|
|
972
972
|
] });
|
|
973
973
|
}
|
|
974
974
|
|
|
975
|
+
function IconTrash(props) {
|
|
976
|
+
return /* @__PURE__ */ jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none", ...props, children: /* @__PURE__ */ jsx(
|
|
977
|
+
"path",
|
|
978
|
+
{
|
|
979
|
+
d: "M14.7404 9L14.3942 18M9.60577 18L9.25962 9M4.77235 5.79057C5.91878 5.61744 7.07849 5.48485 8.25 5.39432C9.48744 5.2987 10.738 5.25 12 5.25C13.262 5.25 14.5126 5.2987 15.75 5.39432C16.9215 5.48485 18.0812 5.61744 19.2276 5.79057C19.5696 5.84221 19.9104 5.89747 20.25 5.95629M19.2276 5.79057L18.1598 19.6726C18.0696 20.8448 17.0921 21.75 15.9164 21.75H8.08357C6.90786 21.75 5.93037 20.8448 5.8402 19.6726L4.77235 5.79057M3.75 5.95629C4.08957 5.89747 4.43037 5.84221 4.77235 5.79057M15.75 5.39432V4.47819C15.75 3.29882 14.8393 2.31423 13.6606 2.27652C13.1092 2.25889 12.5556 2.25 12 2.25C11.4444 2.25 10.8908 2.25889 10.3394 2.27652C9.16065 2.31423 8.25 3.29882 8.25 4.47819V5.39432",
|
|
980
|
+
stroke: "currentColor",
|
|
981
|
+
strokeWidth: "1.5",
|
|
982
|
+
strokeLinecap: "round",
|
|
983
|
+
strokeLinejoin: "round"
|
|
984
|
+
}
|
|
985
|
+
) });
|
|
986
|
+
}
|
|
987
|
+
IconTrash.Filled = function IconTrashFilled(props) {
|
|
988
|
+
return /* @__PURE__ */ jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none", ...props, children: /* @__PURE__ */ jsx(
|
|
989
|
+
"path",
|
|
990
|
+
{
|
|
991
|
+
fillRule: "evenodd",
|
|
992
|
+
clipRule: "evenodd",
|
|
993
|
+
d: "M16.5001 4.47819V4.70498C17.4548 4.79237 18.4017 4.90731 19.3398 5.04898C19.6871 5.10143 20.0332 5.15755 20.3781 5.2173C20.7863 5.28799 21.0598 5.67617 20.9891 6.0843C20.9184 6.49244 20.5302 6.76598 20.1221 6.69529C20.0525 6.68323 19.9829 6.67132 19.9131 6.65957L18.9077 19.7301C18.7875 21.2931 17.4842 22.5 15.9166 22.5H8.08369C6.51608 22.5 5.21276 21.2931 5.09253 19.7301L4.0871 6.65957C4.0174 6.67132 3.94774 6.68323 3.87813 6.69529C3.47 6.76598 3.08183 6.49244 3.01113 6.0843C2.94043 5.67617 3.21398 5.28799 3.62211 5.2173C3.96701 5.15755 4.31315 5.10143 4.66048 5.04898C5.59858 4.90731 6.5454 4.79237 7.50012 4.70498V4.47819C7.50012 2.91371 8.71265 1.57818 10.3156 1.52691C10.8749 1.50901 11.4365 1.5 12.0001 1.5C12.5638 1.5 13.1253 1.50901 13.6847 1.52691C15.2876 1.57818 16.5001 2.91371 16.5001 4.47819ZM10.3635 3.02614C10.9069 3.00876 11.4525 3 12.0001 3C12.5478 3 13.0934 3.00876 13.6367 3.02614C14.3913 3.05028 15.0001 3.68393 15.0001 4.47819V4.59082C14.0078 4.53056 13.0075 4.5 12.0001 4.5C10.9928 4.5 9.99249 4.53056 9.00012 4.59082V4.47819C9.00012 3.68393 9.6089 3.05028 10.3635 3.02614ZM10.0087 8.97118C9.9928 8.55727 9.64436 8.23463 9.23045 8.25055C8.81654 8.26647 8.49391 8.61492 8.50983 9.02882L8.85599 18.0288C8.8719 18.4427 9.22035 18.7654 9.63426 18.7494C10.0482 18.7335 10.3708 18.3851 10.3549 17.9712L10.0087 8.97118ZM15.4895 9.02882C15.5054 8.61492 15.1828 8.26647 14.7689 8.25055C14.355 8.23463 14.0065 8.55727 13.9906 8.97118L13.6444 17.9712C13.6285 18.3851 13.9512 18.7335 14.3651 18.7494C14.779 18.7654 15.1274 18.4427 15.1433 18.0288L15.4895 9.02882Z",
|
|
994
|
+
fill: "currentColor"
|
|
995
|
+
}
|
|
996
|
+
) });
|
|
997
|
+
};
|
|
998
|
+
|
|
975
999
|
function IconXMark(props) {
|
|
976
1000
|
return /* @__PURE__ */ jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none", ...props, children: /* @__PURE__ */ jsx(
|
|
977
1001
|
"path",
|
|
@@ -2668,13 +2692,13 @@ function SegmentControl(props) {
|
|
|
2668
2692
|
}
|
|
2669
2693
|
SegmentControl.Item = SegmentControlItem;
|
|
2670
2694
|
|
|
2671
|
-
const stepper = "
|
|
2672
|
-
const sm$1 = "
|
|
2673
|
-
const md$1 = "
|
|
2674
|
-
const lg = "
|
|
2675
|
-
const primary$1 = "
|
|
2676
|
-
const secondary$1 = "
|
|
2677
|
-
const value = "
|
|
2695
|
+
const stepper = "_stepper_103n3_2";
|
|
2696
|
+
const sm$1 = "_sm_103n3_10";
|
|
2697
|
+
const md$1 = "_md_103n3_17";
|
|
2698
|
+
const lg = "_lg_103n3_24";
|
|
2699
|
+
const primary$1 = "_primary_103n3_31";
|
|
2700
|
+
const secondary$1 = "_secondary_103n3_41";
|
|
2701
|
+
const value = "_value_103n3_50";
|
|
2678
2702
|
const styles$5 = {
|
|
2679
2703
|
stepper: stepper,
|
|
2680
2704
|
sm: sm$1,
|
|
@@ -2994,4 +3018,4 @@ function Tooltip(props) {
|
|
|
2994
3018
|
}
|
|
2995
3019
|
Tooltip.Content = TooltipContent;
|
|
2996
3020
|
|
|
2997
|
-
export { Badge, BadgeTabs, Breadcrumbs, Button, Checkbox, Chip, Counter, DatePicker, DropdownMenu, I18N_MONTH_LABELS, I18N_WEEKDAY_LABELS, IconArrow, IconArrowCircle, IconArrowCircleUp, IconArrowDiagonal, IconArrowUTurn, IconBell, IconBox, IconCalendar, IconCharacteristic, IconCheck, IconCheckCircle, IconChevron, IconChevronDouble, IconClock, IconCollapse, IconCopy, IconDots, IconDownload, IconEye, IconFace, IconFile, IconFilters, IconGear, IconHanger, IconHome, IconInfo, IconLogOut, IconLogo, IconMail, IconMinus, IconOneCircle, IconPerson, IconPhone, IconPlus, IconPrize, IconProject, IconQRCode, IconRequest, IconResizeCorner, IconScan, IconSearch, IconShopping, IconSort, IconStar, IconSticker, IconStop, IconSwitch, IconXMark, IconXMarkCircle, LOCALE_FIRST_DAY_OF_WEEK, Pagination, ProgressBar, RadioButton, Search, SegmentControl, Stepper, Switch, Tabs, Tag, TextField, Tooltip, useDatePickerControls, useDatePickerMultiSelect, useDatePickerSelect };
|
|
3021
|
+
export { Badge, BadgeTabs, Breadcrumbs, Button, Checkbox, Chip, Counter, DatePicker, DropdownMenu, I18N_MONTH_LABELS, I18N_WEEKDAY_LABELS, IconArrow, IconArrowCircle, IconArrowCircleUp, IconArrowDiagonal, IconArrowUTurn, IconBell, IconBox, IconCalendar, IconCharacteristic, IconCheck, IconCheckCircle, IconChevron, IconChevronDouble, IconClock, IconCollapse, IconCopy, IconDots, IconDownload, IconEye, IconFace, IconFile, IconFilters, IconGear, IconHanger, IconHome, IconInfo, IconLogOut, IconLogo, IconMail, IconMinus, IconOneCircle, IconPerson, IconPhone, IconPlus, IconPrize, IconProject, IconQRCode, IconRequest, IconResizeCorner, IconScan, IconSearch, IconShopping, IconSort, IconStar, IconSticker, IconStop, IconSwitch, IconTrash, IconXMark, IconXMarkCircle, LOCALE_FIRST_DAY_OF_WEEK, Pagination, ProgressBar, RadioButton, Search, SegmentControl, Stepper, Switch, Tabs, Tag, TextField, Tooltip, useDatePickerControls, useDatePickerMultiSelect, useDatePickerSelect };
|
package/dist/style.css
CHANGED
|
@@ -258,6 +258,7 @@ textarea {
|
|
|
258
258
|
--color-neutral-500: color-mix(in srgb, var(--color-neutral) 50%, var(--color-white) 50%);
|
|
259
259
|
--color-neutral-340: color-mix(in srgb, var(--color-neutral) 34%, var(--color-white) 66%);
|
|
260
260
|
--color-neutral-300: color-mix(in srgb, var(--color-neutral) 29%, var(--color-white) 71%);
|
|
261
|
+
--color-neutral-80: color-mix(in srgb, var(--color-neutral) 8%, var(--color-white) 92%);
|
|
261
262
|
--color-neutral-40: color-mix(in srgb, var(--color-neutral) 4%, var(--color-white) 96%);
|
|
262
263
|
|
|
263
264
|
--color-neutral-alpha-140: color-mix(in srgb, var(--color-neutral) 14%, var(--color-transparent));
|
|
@@ -1660,7 +1661,7 @@ textarea {
|
|
|
1660
1661
|
}
|
|
1661
1662
|
}
|
|
1662
1663
|
@layer ui_baza_components {
|
|
1663
|
-
.
|
|
1664
|
+
._stepper_103n3_2 {
|
|
1664
1665
|
display: flex;
|
|
1665
1666
|
align-items: center;
|
|
1666
1667
|
justify-content: space-between;
|
|
@@ -1668,28 +1669,28 @@ textarea {
|
|
|
1668
1669
|
|
|
1669
1670
|
--button-disabled-background: var(--color-transparent);
|
|
1670
1671
|
|
|
1671
|
-
&.
|
|
1672
|
+
&._sm_103n3_10 {
|
|
1672
1673
|
max-height: calc(var(--line-height-md) + var(--space-sm) * 2);
|
|
1673
1674
|
|
|
1674
1675
|
--stepper-icon-size: var(--size-lg);
|
|
1675
1676
|
--stepper-radius: var(--radius-md);
|
|
1676
1677
|
}
|
|
1677
1678
|
|
|
1678
|
-
&.
|
|
1679
|
+
&._md_103n3_17 {
|
|
1679
1680
|
max-height: calc(var(--line-height-lg) + var(--space-lg) * 2);
|
|
1680
1681
|
|
|
1681
1682
|
--stepper-icon-size: var(--size-xl);
|
|
1682
1683
|
--stepper-radius: var(--radius-lg);
|
|
1683
1684
|
}
|
|
1684
1685
|
|
|
1685
|
-
&.
|
|
1686
|
+
&._lg_103n3_24 {
|
|
1686
1687
|
max-height: calc(var(--line-height-xl) + var(--space-xl) * 2);
|
|
1687
1688
|
|
|
1688
1689
|
--stepper-icon-size: var(--size-xl);
|
|
1689
1690
|
--stepper-radius: var(--radius-xl);
|
|
1690
1691
|
}
|
|
1691
1692
|
|
|
1692
|
-
&.
|
|
1693
|
+
&._primary_103n3_31 {
|
|
1693
1694
|
background-color: var(--color-accent);
|
|
1694
1695
|
color: var(--color-white);
|
|
1695
1696
|
|
|
@@ -1699,8 +1700,8 @@ textarea {
|
|
|
1699
1700
|
}
|
|
1700
1701
|
}
|
|
1701
1702
|
|
|
1702
|
-
&.
|
|
1703
|
-
background-color: var(--color-neutral-
|
|
1703
|
+
&._secondary_103n3_41 {
|
|
1704
|
+
background-color: var(--color-neutral-80);
|
|
1704
1705
|
color: var(--color-neutral);
|
|
1705
1706
|
|
|
1706
1707
|
&[data-disabled='true'] {
|
|
@@ -1708,19 +1709,19 @@ textarea {
|
|
|
1708
1709
|
}
|
|
1709
1710
|
}
|
|
1710
1711
|
|
|
1711
|
-
&.
|
|
1712
|
+
&._lg_103n3_24 ._value_103n3_50 {
|
|
1712
1713
|
padding-inline: var(--space-2xl);
|
|
1713
1714
|
font-size: var(--size-md);
|
|
1714
1715
|
line-height: var(--line-height-lg);
|
|
1715
1716
|
}
|
|
1716
1717
|
|
|
1717
|
-
&.
|
|
1718
|
+
&._md_103n3_17 ._value_103n3_50 {
|
|
1718
1719
|
padding-inline: var(--space-md);
|
|
1719
1720
|
font-size: var(--size-md);
|
|
1720
1721
|
line-height: var(--line-height-lg);
|
|
1721
1722
|
}
|
|
1722
1723
|
|
|
1723
|
-
&.
|
|
1724
|
+
&._sm_103n3_10 ._value_103n3_50 {
|
|
1724
1725
|
padding-inline: var(--space-sm);
|
|
1725
1726
|
font-size: var(--size-sm);
|
|
1726
1727
|
line-height: var(--line-height-md);
|
|
@@ -1731,7 +1732,7 @@ textarea {
|
|
|
1731
1732
|
height: var(--stepper-icon-size);
|
|
1732
1733
|
}
|
|
1733
1734
|
|
|
1734
|
-
& .
|
|
1735
|
+
& ._value_103n3_50 {
|
|
1735
1736
|
font-weight: var(--font-weight-medium);
|
|
1736
1737
|
font-variant-numeric: tabular-nums;
|
|
1737
1738
|
text-align: center;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@grandbazar/ui-baza",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.20",
|
|
4
4
|
"description": "A lightweight and modular UI kit for building modern, accessible web interfaces. Designed for flexibility, scalability, and developer happiness.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|