@expcat/tigercat-core 1.5.0 → 2.0.0-preview.1
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/{datepicker-gSOJN_pQ.d.cts → datepicker-ZdzYUqm5.d.ts} +77 -11
- package/dist/datepicker-locales/ar-SA.d.ts +1 -1
- package/dist/datepicker-locales/de-DE.d.ts +1 -1
- package/dist/datepicker-locales/en-US.d.ts +1 -1
- package/dist/datepicker-locales/es-ES.d.ts +1 -1
- package/dist/datepicker-locales/fr-FR.d.ts +1 -1
- package/dist/datepicker-locales/id-ID.d.ts +1 -1
- package/dist/datepicker-locales/ja-JP.d.ts +1 -1
- package/dist/datepicker-locales/ko-KR.d.ts +1 -1
- package/dist/datepicker-locales/pt-BR.d.ts +1 -1
- package/dist/datepicker-locales/registry.d.ts +7 -0
- package/dist/datepicker-locales/registry.js +224 -0
- package/dist/datepicker-locales/th-TH.d.ts +1 -1
- package/dist/datepicker-locales/vi-VN.d.ts +1 -1
- package/dist/datepicker-locales/zh-CN.d.ts +1 -1
- package/dist/datepicker-locales/zh-TW.d.ts +1 -1
- package/dist/icons/picker.d.ts +1 -13
- package/dist/icons/picker.js +0 -12
- package/dist/index.d.ts +11356 -11653
- package/dist/index.js +206 -375
- package/dist/{locale-hhhI2kH6.d.ts → locale-44p_QYnH.d.ts} +4 -7
- package/dist/locales/ar-SA.d.ts +2 -2
- package/dist/locales/ar-SA.js +16 -189
- package/dist/locales/de-DE.d.ts +2 -2
- package/dist/locales/de-DE.js +16 -189
- package/dist/locales/en-US.d.ts +2 -2
- package/dist/locales/es-ES.d.ts +2 -2
- package/dist/locales/es-ES.js +16 -189
- package/dist/locales/fr-FR.d.ts +2 -2
- package/dist/locales/fr-FR.js +16 -189
- package/dist/locales/id-ID.d.ts +2 -2
- package/dist/locales/id-ID.js +16 -189
- package/dist/locales/ja-JP.d.ts +2 -2
- package/dist/locales/ja-JP.js +16 -189
- package/dist/locales/ko-KR.d.ts +2 -2
- package/dist/locales/ko-KR.js +16 -189
- package/dist/locales/pt-BR.d.ts +2 -2
- package/dist/locales/pt-BR.js +16 -189
- package/dist/locales/th-TH.d.ts +2 -2
- package/dist/locales/th-TH.js +16 -189
- package/dist/locales/vi-VN.d.ts +2 -2
- package/dist/locales/vi-VN.js +16 -189
- package/dist/locales/zh-CN.d.ts +2 -2
- package/dist/locales/zh-TW.d.ts +2 -2
- package/dist/locales/zh-TW.js +16 -189
- package/dist/{table-export-CfdzU6Y5.d.ts → table-export-CzPmX1b6.d.ts} +3 -9
- package/dist/utils/table-export.d.ts +3 -3
- package/package.json +40 -71
- package/tokens/tokens.css +0 -329
- package/dist/datepicker-gSOJN_pQ.d.ts +0 -130
- package/dist/datepicker-locales/ar-SA.cjs +0 -46
- package/dist/datepicker-locales/ar-SA.d.cts +0 -6
- package/dist/datepicker-locales/de-DE.cjs +0 -46
- package/dist/datepicker-locales/de-DE.d.cts +0 -6
- package/dist/datepicker-locales/en-US.cjs +0 -46
- package/dist/datepicker-locales/en-US.d.cts +0 -6
- package/dist/datepicker-locales/es-ES.cjs +0 -46
- package/dist/datepicker-locales/es-ES.d.cts +0 -6
- package/dist/datepicker-locales/fr-FR.cjs +0 -46
- package/dist/datepicker-locales/fr-FR.d.cts +0 -6
- package/dist/datepicker-locales/id-ID.cjs +0 -46
- package/dist/datepicker-locales/id-ID.d.cts +0 -6
- package/dist/datepicker-locales/ja-JP.cjs +0 -46
- package/dist/datepicker-locales/ja-JP.d.cts +0 -6
- package/dist/datepicker-locales/ko-KR.cjs +0 -46
- package/dist/datepicker-locales/ko-KR.d.cts +0 -6
- package/dist/datepicker-locales/pt-BR.cjs +0 -46
- package/dist/datepicker-locales/pt-BR.d.cts +0 -6
- package/dist/datepicker-locales/th-TH.cjs +0 -46
- package/dist/datepicker-locales/th-TH.d.cts +0 -6
- package/dist/datepicker-locales/vi-VN.cjs +0 -46
- package/dist/datepicker-locales/vi-VN.d.cts +0 -6
- package/dist/datepicker-locales/zh-CN.cjs +0 -46
- package/dist/datepicker-locales/zh-CN.d.cts +0 -6
- package/dist/datepicker-locales/zh-TW.cjs +0 -46
- package/dist/datepicker-locales/zh-TW.d.cts +0 -6
- package/dist/icons/common.cjs +0 -54
- package/dist/icons/common.d.cts +0 -20
- package/dist/icons/picker.cjs +0 -75
- package/dist/icons/picker.d.cts +0 -53
- package/dist/icons/registry.cjs +0 -172
- package/dist/icons/registry.d.cts +0 -102
- package/dist/icons/status.cjs +0 -47
- package/dist/icons/status.d.cts +0 -13
- package/dist/icons/table.cjs +0 -48
- package/dist/icons/table.d.cts +0 -25
- package/dist/index.cjs +0 -22311
- package/dist/index.d.cts +0 -20523
- package/dist/locale-BTAo7XO1.d.cts +0 -392
- package/dist/locales/ar-SA.cjs +0 -548
- package/dist/locales/ar-SA.d.cts +0 -10
- package/dist/locales/de-DE.cjs +0 -548
- package/dist/locales/de-DE.d.cts +0 -10
- package/dist/locales/en-US.cjs +0 -246
- package/dist/locales/en-US.d.cts +0 -10
- package/dist/locales/es-ES.cjs +0 -548
- package/dist/locales/es-ES.d.cts +0 -10
- package/dist/locales/fr-FR.cjs +0 -548
- package/dist/locales/fr-FR.d.cts +0 -10
- package/dist/locales/id-ID.cjs +0 -531
- package/dist/locales/id-ID.d.cts +0 -10
- package/dist/locales/ja-JP.cjs +0 -531
- package/dist/locales/ja-JP.d.cts +0 -10
- package/dist/locales/ko-KR.cjs +0 -531
- package/dist/locales/ko-KR.d.cts +0 -10
- package/dist/locales/pt-BR.cjs +0 -548
- package/dist/locales/pt-BR.d.cts +0 -10
- package/dist/locales/th-TH.cjs +0 -531
- package/dist/locales/th-TH.d.cts +0 -10
- package/dist/locales/vi-VN.cjs +0 -531
- package/dist/locales/vi-VN.d.cts +0 -10
- package/dist/locales/zh-CN.cjs +0 -246
- package/dist/locales/zh-CN.d.cts +0 -10
- package/dist/locales/zh-TW.cjs +0 -531
- package/dist/locales/zh-TW.d.cts +0 -10
- package/dist/table-export-vfyBzKui.d.cts +0 -882
- package/dist/tailwind/modern.cjs +0 -363
- package/dist/tailwind/modern.d.cts +0 -5
- package/dist/tailwind-entry-CNBAH7iv.d.cts +0 -184
- package/dist/tailwind.cjs +0 -274
- package/dist/tailwind.d.cts +0 -2
- package/dist/utils/table-export.cjs +0 -119
- package/dist/utils/table-export.d.cts +0 -3
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { D as DatePickerLocalePreset } from '../datepicker-gSOJN_pQ.cjs';
|
|
2
|
-
|
|
3
|
-
declare const TH_TH_DATEPICKER_LOCALE: DatePickerLocalePreset;
|
|
4
|
-
declare const thTHDatePickerLocale: DatePickerLocalePreset;
|
|
5
|
-
|
|
6
|
-
export { TH_TH_DATEPICKER_LOCALE, TH_TH_DATEPICKER_LOCALE as default, thTHDatePickerLocale };
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
|
|
20
|
-
// src/utils/i18n/datepicker-locales/vi-VN.ts
|
|
21
|
-
var vi_VN_exports = {};
|
|
22
|
-
__export(vi_VN_exports, {
|
|
23
|
-
VI_VN_DATEPICKER_LOCALE: () => VI_VN_DATEPICKER_LOCALE,
|
|
24
|
-
default: () => vi_VN_default,
|
|
25
|
-
viVNDatePickerLocale: () => viVNDatePickerLocale
|
|
26
|
-
});
|
|
27
|
-
module.exports = __toCommonJS(vi_VN_exports);
|
|
28
|
-
var VI_VN_DATEPICKER_LOCALE = {
|
|
29
|
-
locale: "vi-VN",
|
|
30
|
-
labels: {
|
|
31
|
-
today: "H\xF4m nay",
|
|
32
|
-
ok: "OK",
|
|
33
|
-
calendar: "L\u1ECBch",
|
|
34
|
-
toggleCalendar: "M\u1EDF l\u1ECBch",
|
|
35
|
-
clearDate: "X\xF3a ng\xE0y",
|
|
36
|
-
previousMonth: "Th\xE1ng tr\u01B0\u1EDBc",
|
|
37
|
-
nextMonth: "Th\xE1ng sau"
|
|
38
|
-
}
|
|
39
|
-
};
|
|
40
|
-
var viVNDatePickerLocale = VI_VN_DATEPICKER_LOCALE;
|
|
41
|
-
var vi_VN_default = VI_VN_DATEPICKER_LOCALE;
|
|
42
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
43
|
-
0 && (module.exports = {
|
|
44
|
-
VI_VN_DATEPICKER_LOCALE,
|
|
45
|
-
viVNDatePickerLocale
|
|
46
|
-
});
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { D as DatePickerLocalePreset } from '../datepicker-gSOJN_pQ.cjs';
|
|
2
|
-
|
|
3
|
-
declare const VI_VN_DATEPICKER_LOCALE: DatePickerLocalePreset;
|
|
4
|
-
declare const viVNDatePickerLocale: DatePickerLocalePreset;
|
|
5
|
-
|
|
6
|
-
export { VI_VN_DATEPICKER_LOCALE, VI_VN_DATEPICKER_LOCALE as default, viVNDatePickerLocale };
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
|
|
20
|
-
// src/utils/i18n/datepicker-locales/zh-CN.ts
|
|
21
|
-
var zh_CN_exports = {};
|
|
22
|
-
__export(zh_CN_exports, {
|
|
23
|
-
ZH_CN_DATEPICKER_LOCALE: () => ZH_CN_DATEPICKER_LOCALE,
|
|
24
|
-
default: () => zh_CN_default,
|
|
25
|
-
zhCNDatePickerLocale: () => zhCNDatePickerLocale
|
|
26
|
-
});
|
|
27
|
-
module.exports = __toCommonJS(zh_CN_exports);
|
|
28
|
-
var ZH_CN_DATEPICKER_LOCALE = {
|
|
29
|
-
locale: "zh-CN",
|
|
30
|
-
labels: {
|
|
31
|
-
today: "\u4ECA\u5929",
|
|
32
|
-
ok: "\u786E\u5B9A",
|
|
33
|
-
calendar: "\u65E5\u5386",
|
|
34
|
-
toggleCalendar: "\u6253\u5F00\u65E5\u5386",
|
|
35
|
-
clearDate: "\u6E05\u9664\u65E5\u671F",
|
|
36
|
-
previousMonth: "\u4E0A\u4E2A\u6708",
|
|
37
|
-
nextMonth: "\u4E0B\u4E2A\u6708"
|
|
38
|
-
}
|
|
39
|
-
};
|
|
40
|
-
var zhCNDatePickerLocale = ZH_CN_DATEPICKER_LOCALE;
|
|
41
|
-
var zh_CN_default = ZH_CN_DATEPICKER_LOCALE;
|
|
42
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
43
|
-
0 && (module.exports = {
|
|
44
|
-
ZH_CN_DATEPICKER_LOCALE,
|
|
45
|
-
zhCNDatePickerLocale
|
|
46
|
-
});
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { D as DatePickerLocalePreset } from '../datepicker-gSOJN_pQ.cjs';
|
|
2
|
-
|
|
3
|
-
declare const ZH_CN_DATEPICKER_LOCALE: DatePickerLocalePreset;
|
|
4
|
-
declare const zhCNDatePickerLocale: DatePickerLocalePreset;
|
|
5
|
-
|
|
6
|
-
export { ZH_CN_DATEPICKER_LOCALE, ZH_CN_DATEPICKER_LOCALE as default, zhCNDatePickerLocale };
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
|
|
20
|
-
// src/utils/i18n/datepicker-locales/zh-TW.ts
|
|
21
|
-
var zh_TW_exports = {};
|
|
22
|
-
__export(zh_TW_exports, {
|
|
23
|
-
ZH_TW_DATEPICKER_LOCALE: () => ZH_TW_DATEPICKER_LOCALE,
|
|
24
|
-
default: () => zh_TW_default,
|
|
25
|
-
zhTWDatePickerLocale: () => zhTWDatePickerLocale
|
|
26
|
-
});
|
|
27
|
-
module.exports = __toCommonJS(zh_TW_exports);
|
|
28
|
-
var ZH_TW_DATEPICKER_LOCALE = {
|
|
29
|
-
locale: "zh-TW",
|
|
30
|
-
labels: {
|
|
31
|
-
today: "\u4ECA\u5929",
|
|
32
|
-
ok: "\u78BA\u5B9A",
|
|
33
|
-
calendar: "\u65E5\u66C6",
|
|
34
|
-
toggleCalendar: "\u958B\u555F\u65E5\u66C6",
|
|
35
|
-
clearDate: "\u6E05\u9664\u65E5\u671F",
|
|
36
|
-
previousMonth: "\u4E0A\u500B\u6708",
|
|
37
|
-
nextMonth: "\u4E0B\u500B\u6708"
|
|
38
|
-
}
|
|
39
|
-
};
|
|
40
|
-
var zhTWDatePickerLocale = ZH_TW_DATEPICKER_LOCALE;
|
|
41
|
-
var zh_TW_default = ZH_TW_DATEPICKER_LOCALE;
|
|
42
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
43
|
-
0 && (module.exports = {
|
|
44
|
-
ZH_TW_DATEPICKER_LOCALE,
|
|
45
|
-
zhTWDatePickerLocale
|
|
46
|
-
});
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { D as DatePickerLocalePreset } from '../datepicker-gSOJN_pQ.cjs';
|
|
2
|
-
|
|
3
|
-
declare const ZH_TW_DATEPICKER_LOCALE: DatePickerLocalePreset;
|
|
4
|
-
declare const zhTWDatePickerLocale: DatePickerLocalePreset;
|
|
5
|
-
|
|
6
|
-
export { ZH_TW_DATEPICKER_LOCALE, ZH_TW_DATEPICKER_LOCALE as default, zhTWDatePickerLocale };
|
package/dist/icons/common.cjs
DELETED
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
|
|
20
|
-
// src/utils/icons/common.ts
|
|
21
|
-
var common_exports = {};
|
|
22
|
-
__export(common_exports, {
|
|
23
|
-
closeIconPathD: () => closeIconPathD,
|
|
24
|
-
closeIconPathStrokeLinecap: () => closeIconPathStrokeLinecap,
|
|
25
|
-
closeIconPathStrokeLinejoin: () => closeIconPathStrokeLinejoin,
|
|
26
|
-
closeIconPathStrokeWidth: () => closeIconPathStrokeWidth,
|
|
27
|
-
closeIconViewBox: () => closeIconViewBox,
|
|
28
|
-
icon24PathStrokeLinecap: () => icon24PathStrokeLinecap,
|
|
29
|
-
icon24PathStrokeLinejoin: () => icon24PathStrokeLinejoin,
|
|
30
|
-
icon24StrokeWidth: () => icon24StrokeWidth,
|
|
31
|
-
icon24ViewBox: () => icon24ViewBox
|
|
32
|
-
});
|
|
33
|
-
module.exports = __toCommonJS(common_exports);
|
|
34
|
-
var closeIconViewBox = "0 0 24 24";
|
|
35
|
-
var closeIconPathD = "M6 18L18 6M6 6l12 12";
|
|
36
|
-
var closeIconPathStrokeLinecap = "round";
|
|
37
|
-
var closeIconPathStrokeLinejoin = "round";
|
|
38
|
-
var closeIconPathStrokeWidth = 2;
|
|
39
|
-
var icon24ViewBox = "0 0 24 24";
|
|
40
|
-
var icon24PathStrokeLinecap = "round";
|
|
41
|
-
var icon24PathStrokeLinejoin = "round";
|
|
42
|
-
var icon24StrokeWidth = 2;
|
|
43
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
44
|
-
0 && (module.exports = {
|
|
45
|
-
closeIconPathD,
|
|
46
|
-
closeIconPathStrokeLinecap,
|
|
47
|
-
closeIconPathStrokeLinejoin,
|
|
48
|
-
closeIconPathStrokeWidth,
|
|
49
|
-
closeIconViewBox,
|
|
50
|
-
icon24PathStrokeLinecap,
|
|
51
|
-
icon24PathStrokeLinejoin,
|
|
52
|
-
icon24StrokeWidth,
|
|
53
|
-
icon24ViewBox
|
|
54
|
-
});
|
package/dist/icons/common.d.cts
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Common 24x24 outline icon constants (stroke-based)
|
|
3
|
-
*
|
|
4
|
-
* Used by Drawer / Modal / TabPane / Tour / Alert / Message / Notification / Tag close buttons.
|
|
5
|
-
* Subpath: `@expcat/tigercat-core/icons/common`
|
|
6
|
-
*/
|
|
7
|
-
declare const closeIconViewBox = "0 0 24 24";
|
|
8
|
-
declare const closeIconPathD = "M6 18L18 6M6 6l12 12";
|
|
9
|
-
declare const closeIconPathStrokeLinecap = "round";
|
|
10
|
-
declare const closeIconPathStrokeLinejoin = "round";
|
|
11
|
-
declare const closeIconPathStrokeWidth = 2;
|
|
12
|
-
/**
|
|
13
|
-
* Common outline icon defaults (24x24)
|
|
14
|
-
*/
|
|
15
|
-
declare const icon24ViewBox = "0 0 24 24";
|
|
16
|
-
declare const icon24PathStrokeLinecap = "round";
|
|
17
|
-
declare const icon24PathStrokeLinejoin = "round";
|
|
18
|
-
declare const icon24StrokeWidth = 2;
|
|
19
|
-
|
|
20
|
-
export { closeIconPathD, closeIconPathStrokeLinecap, closeIconPathStrokeLinejoin, closeIconPathStrokeWidth, closeIconViewBox, icon24PathStrokeLinecap, icon24PathStrokeLinejoin, icon24StrokeWidth, icon24ViewBox };
|
package/dist/icons/picker.cjs
DELETED
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
|
|
20
|
-
// src/utils/icons/picker.ts
|
|
21
|
-
var picker_exports = {};
|
|
22
|
-
__export(picker_exports, {
|
|
23
|
-
CalendarIconPath: () => CalendarIconPath,
|
|
24
|
-
ChevronLeftIconPath: () => ChevronLeftIconPath,
|
|
25
|
-
ChevronRightIconPath: () => ChevronRightIconPath,
|
|
26
|
-
ClockIconPath: () => ClockIconPath,
|
|
27
|
-
CloseIconPath: () => CloseIconPath,
|
|
28
|
-
TimePickerCloseIconPath: () => TimePickerCloseIconPath,
|
|
29
|
-
calendarSolidIcon20PathD: () => calendarSolidIcon20PathD,
|
|
30
|
-
checkSolidIcon20PathD: () => checkSolidIcon20PathD,
|
|
31
|
-
chevronDownSolidIcon20PathD: () => chevronDownSolidIcon20PathD,
|
|
32
|
-
chevronLeftSolidIcon20PathD: () => chevronLeftSolidIcon20PathD,
|
|
33
|
-
chevronRightSolidIcon20PathD: () => chevronRightSolidIcon20PathD,
|
|
34
|
-
clockSolidIcon20PathD: () => clockSolidIcon20PathD,
|
|
35
|
-
closeSolidIcon20PathD: () => closeSolidIcon20PathD,
|
|
36
|
-
errorCircleSolidIcon20PathD: () => errorCircleSolidIcon20PathD,
|
|
37
|
-
icon20ViewBox: () => icon20ViewBox,
|
|
38
|
-
successCircleSolidIcon20PathD: () => successCircleSolidIcon20PathD
|
|
39
|
-
});
|
|
40
|
-
module.exports = __toCommonJS(picker_exports);
|
|
41
|
-
var icon20ViewBox = "0 0 20 20";
|
|
42
|
-
var closeSolidIcon20PathD = "M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z";
|
|
43
|
-
var calendarSolidIcon20PathD = "M6 2a1 1 0 00-1 1v1H4a2 2 0 00-2 2v10a2 2 0 002 2h12a2 2 0 002-2V6a2 2 0 00-2-2h-1V3a1 1 0 10-2 0v1H7V3a1 1 0 00-1-1zm0 5a1 1 0 000 2h8a1 1 0 100-2H6z";
|
|
44
|
-
var clockSolidIcon20PathD = "M10 18a8 8 0 100-16 8 8 0 000 16zm1-12a1 1 0 10-2 0v4a1 1 0 00.293.707l2.828 2.829a1 1 0 101.415-1.415L11 9.586V6z";
|
|
45
|
-
var chevronLeftSolidIcon20PathD = "M12.707 5.293a1 1 0 010 1.414L9.414 10l3.293 3.293a1 1 0 01-1.414 1.414l-4-4a1 1 0 010-1.414l4-4a1 1 0 011.414 0z";
|
|
46
|
-
var chevronRightSolidIcon20PathD = "M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z";
|
|
47
|
-
var chevronDownSolidIcon20PathD = "M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z";
|
|
48
|
-
var checkSolidIcon20PathD = "M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z";
|
|
49
|
-
var successCircleSolidIcon20PathD = "M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z";
|
|
50
|
-
var errorCircleSolidIcon20PathD = "M10 18a8 8 0 100-16 8 8 0 000 16zM8.707 7.293a1 1 0 00-1.414 1.414L8.586 10l-1.293 1.293a1 1 0 101.414 1.414L10 11.414l1.293 1.293a1 1 0 001.414-1.414L11.414 10l1.293-1.293a1 1 0 00-1.414-1.414L10 8.586 8.707 7.293z";
|
|
51
|
-
var CalendarIconPath = calendarSolidIcon20PathD;
|
|
52
|
-
var CloseIconPath = closeSolidIcon20PathD;
|
|
53
|
-
var ChevronLeftIconPath = chevronLeftSolidIcon20PathD;
|
|
54
|
-
var ChevronRightIconPath = chevronRightSolidIcon20PathD;
|
|
55
|
-
var ClockIconPath = clockSolidIcon20PathD;
|
|
56
|
-
var TimePickerCloseIconPath = closeSolidIcon20PathD;
|
|
57
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
58
|
-
0 && (module.exports = {
|
|
59
|
-
CalendarIconPath,
|
|
60
|
-
ChevronLeftIconPath,
|
|
61
|
-
ChevronRightIconPath,
|
|
62
|
-
ClockIconPath,
|
|
63
|
-
CloseIconPath,
|
|
64
|
-
TimePickerCloseIconPath,
|
|
65
|
-
calendarSolidIcon20PathD,
|
|
66
|
-
checkSolidIcon20PathD,
|
|
67
|
-
chevronDownSolidIcon20PathD,
|
|
68
|
-
chevronLeftSolidIcon20PathD,
|
|
69
|
-
chevronRightSolidIcon20PathD,
|
|
70
|
-
clockSolidIcon20PathD,
|
|
71
|
-
closeSolidIcon20PathD,
|
|
72
|
-
errorCircleSolidIcon20PathD,
|
|
73
|
-
icon20ViewBox,
|
|
74
|
-
successCircleSolidIcon20PathD
|
|
75
|
-
});
|
package/dist/icons/picker.d.cts
DELETED
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 20x20 solid icon paths shared by picker-like components
|
|
3
|
-
* (Select, Cascader, AutoComplete, TreeSelect, Transfer, DatePicker, TimePicker, Upload).
|
|
4
|
-
*
|
|
5
|
-
* Subpath: `@expcat/tigercat-core/icons/picker`
|
|
6
|
-
*/
|
|
7
|
-
/**
|
|
8
|
-
* Common solid icon defaults (20x20)
|
|
9
|
-
*/
|
|
10
|
-
declare const icon20ViewBox = "0 0 20 20";
|
|
11
|
-
/**
|
|
12
|
-
* Common solid close(X) icon path (20x20)
|
|
13
|
-
* Used by DatePicker/TimePicker clear button.
|
|
14
|
-
*/
|
|
15
|
-
declare const closeSolidIcon20PathD = "M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z";
|
|
16
|
-
/**
|
|
17
|
-
* Common Date/Time solid icon paths (20x20)
|
|
18
|
-
* Used by DatePicker/TimePicker.
|
|
19
|
-
*/
|
|
20
|
-
declare const calendarSolidIcon20PathD = "M6 2a1 1 0 00-1 1v1H4a2 2 0 00-2 2v10a2 2 0 002 2h12a2 2 0 002-2V6a2 2 0 00-2-2h-1V3a1 1 0 10-2 0v1H7V3a1 1 0 00-1-1zm0 5a1 1 0 000 2h8a1 1 0 100-2H6z";
|
|
21
|
-
declare const clockSolidIcon20PathD = "M10 18a8 8 0 100-16 8 8 0 000 16zm1-12a1 1 0 10-2 0v4a1 1 0 00.293.707l2.828 2.829a1 1 0 101.415-1.415L11 9.586V6z";
|
|
22
|
-
declare const chevronLeftSolidIcon20PathD = "M12.707 5.293a1 1 0 010 1.414L9.414 10l3.293 3.293a1 1 0 01-1.414 1.414l-4-4a1 1 0 010-1.414l4-4a1 1 0 011.414 0z";
|
|
23
|
-
declare const chevronRightSolidIcon20PathD = "M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z";
|
|
24
|
-
/**
|
|
25
|
-
* Chevron down icon path (20x20 solid)
|
|
26
|
-
* Used by Select, Dropdown, etc.
|
|
27
|
-
*/
|
|
28
|
-
declare const chevronDownSolidIcon20PathD = "M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z";
|
|
29
|
-
/**
|
|
30
|
-
* Check icon path (20x20 solid)
|
|
31
|
-
* Used by Select selected option, Checkbox, etc.
|
|
32
|
-
*/
|
|
33
|
-
declare const checkSolidIcon20PathD = "M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z";
|
|
34
|
-
/**
|
|
35
|
-
* Common 20x20 solid status icon paths
|
|
36
|
-
* Used by Upload.
|
|
37
|
-
*/
|
|
38
|
-
declare const successCircleSolidIcon20PathD = "M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z";
|
|
39
|
-
declare const errorCircleSolidIcon20PathD = "M10 18a8 8 0 100-16 8 8 0 000 16zM8.707 7.293a1 1 0 00-1.414 1.414L8.586 10l-1.293 1.293a1 1 0 101.414 1.414L10 11.414l1.293 1.293a1 1 0 001.414-1.414L11.414 10l1.293-1.293a1 1 0 00-1.414-1.414L10 8.586 8.707 7.293z";
|
|
40
|
-
/**
|
|
41
|
-
* DatePicker icon aliases (re-exports for backward compatibility)
|
|
42
|
-
*/
|
|
43
|
-
declare const CalendarIconPath = "M6 2a1 1 0 00-1 1v1H4a2 2 0 00-2 2v10a2 2 0 002 2h12a2 2 0 002-2V6a2 2 0 00-2-2h-1V3a1 1 0 10-2 0v1H7V3a1 1 0 00-1-1zm0 5a1 1 0 000 2h8a1 1 0 100-2H6z";
|
|
44
|
-
declare const CloseIconPath = "M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z";
|
|
45
|
-
declare const ChevronLeftIconPath = "M12.707 5.293a1 1 0 010 1.414L9.414 10l3.293 3.293a1 1 0 01-1.414 1.414l-4-4a1 1 0 010-1.414l4-4a1 1 0 011.414 0z";
|
|
46
|
-
declare const ChevronRightIconPath = "M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z";
|
|
47
|
-
/**
|
|
48
|
-
* TimePicker icon aliases (re-exports for backward compatibility)
|
|
49
|
-
*/
|
|
50
|
-
declare const ClockIconPath = "M10 18a8 8 0 100-16 8 8 0 000 16zm1-12a1 1 0 10-2 0v4a1 1 0 00.293.707l2.828 2.829a1 1 0 101.415-1.415L11 9.586V6z";
|
|
51
|
-
declare const TimePickerCloseIconPath = "M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z";
|
|
52
|
-
|
|
53
|
-
export { CalendarIconPath, ChevronLeftIconPath, ChevronRightIconPath, ClockIconPath, CloseIconPath, TimePickerCloseIconPath, calendarSolidIcon20PathD, checkSolidIcon20PathD, chevronDownSolidIcon20PathD, chevronLeftSolidIcon20PathD, chevronRightSolidIcon20PathD, clockSolidIcon20PathD, closeSolidIcon20PathD, errorCircleSolidIcon20PathD, icon20ViewBox, successCircleSolidIcon20PathD };
|
package/dist/icons/registry.cjs
DELETED
|
@@ -1,172 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
|
|
20
|
-
// src/utils/icons/registry.ts
|
|
21
|
-
var registry_exports = {};
|
|
22
|
-
__export(registry_exports, {
|
|
23
|
-
getIconDefinition: () => getIconDefinition,
|
|
24
|
-
iconNames: () => iconNames,
|
|
25
|
-
iconRegistry: () => iconRegistry
|
|
26
|
-
});
|
|
27
|
-
module.exports = __toCommonJS(registry_exports);
|
|
28
|
-
|
|
29
|
-
// src/utils/icons/common.ts
|
|
30
|
-
var closeIconPathD = "M6 18L18 6M6 6l12 12";
|
|
31
|
-
|
|
32
|
-
// src/utils/icons/status.ts
|
|
33
|
-
var statusSuccessIconPath = "M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z";
|
|
34
|
-
var statusWarningIconPath = "M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z";
|
|
35
|
-
var statusErrorIconPath = "M10 14l2-2m0 0l2-2m-2 2l-2-2m2 2l2 2m7-2a9 9 0 11-18 0 9 9 0 0118 0z";
|
|
36
|
-
var statusInfoIconPath = "M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z";
|
|
37
|
-
|
|
38
|
-
// src/utils/icons/registry.ts
|
|
39
|
-
var stroke24 = (...paths) => ({
|
|
40
|
-
viewBox: "0 0 24 24",
|
|
41
|
-
paths,
|
|
42
|
-
mode: "stroke"
|
|
43
|
-
});
|
|
44
|
-
var iconRegistry = {
|
|
45
|
-
// --- Reused internal glyphs ---
|
|
46
|
-
close: stroke24(closeIconPathD),
|
|
47
|
-
success: stroke24(statusSuccessIconPath),
|
|
48
|
-
warning: stroke24(statusWarningIconPath),
|
|
49
|
-
error: stroke24(statusErrorIconPath),
|
|
50
|
-
info: stroke24(statusInfoIconPath),
|
|
51
|
-
// --- Curated outline set (Heroicons-style, 24x24) ---
|
|
52
|
-
check: stroke24("m4.5 12.75 6 6 9-13.5"),
|
|
53
|
-
"chevron-up": stroke24("m4.5 15.75 7.5-7.5 7.5 7.5"),
|
|
54
|
-
"chevron-down": stroke24("m19.5 8.25-7.5 7.5-7.5-7.5"),
|
|
55
|
-
"chevron-left": stroke24("M15.75 19.5 8.25 12l7.5-7.5"),
|
|
56
|
-
"chevron-right": stroke24("m8.25 4.5 7.5 7.5-7.5 7.5"),
|
|
57
|
-
"arrow-left": stroke24("M10.5 19.5 3 12m0 0 7.5-7.5M3 12h18"),
|
|
58
|
-
"arrow-right": stroke24("M13.5 4.5 21 12m0 0-7.5 7.5M21 12H3"),
|
|
59
|
-
"arrow-up": stroke24("M4.5 10.5 12 3m0 0 7.5 7.5M12 3v18"),
|
|
60
|
-
"arrow-down": stroke24("M19.5 13.5 12 21m0 0-7.5-7.5M12 21V3"),
|
|
61
|
-
search: stroke24("m21 21-5.197-5.197m0 0A7.5 7.5 0 1 0 5.196 5.196a7.5 7.5 0 0 0 10.607 10.607Z"),
|
|
62
|
-
plus: stroke24("M12 4.5v15m7.5-7.5h-15"),
|
|
63
|
-
minus: stroke24("M5 12h14"),
|
|
64
|
-
edit: stroke24(
|
|
65
|
-
"m16.862 4.487 1.687-1.688a1.875 1.875 0 1 1 2.652 2.652L10.582 16.07a4.5 4.5 0 0 1-1.897 1.13L6 18l.8-2.685a4.5 4.5 0 0 1 1.13-1.897l8.932-8.931Zm0 0L19.5 7.125M18 14v4.75A2.25 2.25 0 0 1 15.75 21H5.25A2.25 2.25 0 0 1 3 18.75V8.25A2.25 2.25 0 0 1 5.25 6H10"
|
|
66
|
-
),
|
|
67
|
-
trash: stroke24(
|
|
68
|
-
"m14.74 9-.346 9m-4.788 0L9.26 9m9.968-3.21c.342.052.682.107 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 0 1-2.244 2.077H8.084a2.25 2.25 0 0 1-2.244-2.077L4.772 5.79m14.456 0a48.108 48.108 0 0 0-3.478-.397m-12 .562c.34-.059.68-.114 1.022-.165m0 0a48.11 48.11 0 0 1 3.478-.397m7.5 0v-.916c0-1.18-.91-2.164-2.09-2.201a51.964 51.964 0 0 0-3.32 0c-1.18.037-2.09 1.022-2.09 2.201v.916m7.5 0a48.667 48.667 0 0 0-7.5 0"
|
|
69
|
-
),
|
|
70
|
-
user: stroke24(
|
|
71
|
-
"M15.75 6a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0ZM4.501 20.118a7.5 7.5 0 0 1 14.998 0A17.933 17.933 0 0 1 12 21.75c-2.676 0-5.216-.584-7.499-1.632Z"
|
|
72
|
-
),
|
|
73
|
-
settings: stroke24(
|
|
74
|
-
"M9.594 3.94c.09-.542.56-.94 1.11-.94h2.593c.55 0 1.02.398 1.11.94l.213 1.281c.063.374.313.686.645.87.074.04.147.083.22.127.324.196.72.257 1.075.124l1.217-.456a1.125 1.125 0 0 1 1.37.49l1.296 2.247a1.125 1.125 0 0 1-.26 1.431l-1.003.827c-.293.24-.438.613-.43.992a7.723 7.723 0 0 1 0 .255c-.008.378.137.75.43.99l1.004.828c.424.35.534.954.26 1.43l-1.298 2.247a1.125 1.125 0 0 1-1.369.491l-1.217-.456c-.355-.133-.75-.072-1.076.124a6.47 6.47 0 0 1-.22.128c-.331.183-.581.495-.644.869l-.213 1.281c-.09.543-.56.94-1.11.94h-2.594c-.55 0-1.019-.398-1.11-.94l-.213-1.281c-.062-.374-.312-.686-.644-.87a6.52 6.52 0 0 1-.22-.127c-.325-.196-.72-.257-1.076-.124l-1.217.456a1.125 1.125 0 0 1-1.369-.49l-1.297-2.247a1.125 1.125 0 0 1 .26-1.431l1.004-.827c.292-.24.437-.613.43-.992a7.723 7.723 0 0 1 0-.255c.007-.378-.138-.75-.43-.99l-1.004-.828a1.125 1.125 0 0 1-.26-1.43l1.297-2.247a1.125 1.125 0 0 1 1.37-.491l1.216.456c.356.133.751.072 1.076-.124.072-.044.146-.087.22-.128.332-.183.582-.495.644-.869l.214-1.281Z",
|
|
75
|
-
"M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"
|
|
76
|
-
),
|
|
77
|
-
eye: stroke24(
|
|
78
|
-
"M2.036 12.322a1.012 1.012 0 0 1 0-.639C3.423 7.51 7.36 4.5 12 4.5c4.638 0 8.573 3.007 9.963 7.178.07.207.07.431 0 .639C20.577 16.49 16.64 19.5 12 19.5c-4.638 0-8.573-3.007-9.963-7.178Z",
|
|
79
|
-
"M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"
|
|
80
|
-
),
|
|
81
|
-
"eye-off": stroke24(
|
|
82
|
-
"M3.98 8.223A10.477 10.477 0 0 0 1.934 12C3.226 16.338 7.244 19.5 12 19.5c.993 0 1.953-.138 2.863-.395M6.228 6.228A10.451 10.451 0 0 1 12 4.5c4.756 0 8.773 3.162 10.065 7.498a10.523 10.523 0 0 1-4.293 5.774M6.228 6.228 3 3m3.228 3.228 3.65 3.65m7.894 7.894L21 21m-3.228-3.228-3.65-3.65m0 0a3 3 0 1 0-4.243-4.243m4.242 4.242L9.88 9.88"
|
|
83
|
-
),
|
|
84
|
-
calendar: stroke24(
|
|
85
|
-
"M6.75 3v2.25M17.25 3v2.25M3 18.75V7.5a2.25 2.25 0 0 1 2.25-2.25h13.5A2.25 2.25 0 0 1 21 7.5v11.25m-18 0A2.25 2.25 0 0 0 5.25 21h13.5A2.25 2.25 0 0 0 21 18.75m-18 0v-7.5A2.25 2.25 0 0 1 5.25 9h13.5A2.25 2.25 0 0 1 21 11.25v7.5"
|
|
86
|
-
),
|
|
87
|
-
clock: stroke24("M12 6v6h4.5m4.5 0a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"),
|
|
88
|
-
menu: stroke24("M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25h16.5"),
|
|
89
|
-
"more-horizontal": stroke24(
|
|
90
|
-
"M6.75 12a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0ZM12.75 12a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0ZM18.75 12a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Z"
|
|
91
|
-
),
|
|
92
|
-
"more-vertical": stroke24(
|
|
93
|
-
"M12 6.75a.75.75 0 1 1 0-1.5.75.75 0 0 1 0 1.5ZM12 12.75a.75.75 0 1 1 0-1.5.75.75 0 0 1 0 1.5ZM12 18.75a.75.75 0 1 1 0-1.5.75.75 0 0 1 0 1.5Z"
|
|
94
|
-
),
|
|
95
|
-
"external-link": stroke24(
|
|
96
|
-
"M13.5 6H5.25A2.25 2.25 0 0 0 3 8.25v10.5A2.25 2.25 0 0 0 5.25 21h10.5A2.25 2.25 0 0 0 18 18.75V10.5m-10.5 6L21 3m0 0h-5.25M21 3v5.25"
|
|
97
|
-
),
|
|
98
|
-
// --- Common application glyphs (Heroicons-style, 24x24) ---
|
|
99
|
-
home: stroke24(
|
|
100
|
-
"m2.25 12 8.954-8.955c.44-.439 1.152-.439 1.591 0L21.75 12M4.5 9.75v10.125c0 .621.504 1.125 1.125 1.125H9.75v-4.875c0-.621.504-1.125 1.125-1.125h2.25c.621 0 1.125.504 1.125 1.125V21h4.125c.621 0 1.125-.504 1.125-1.125V9.75M8.25 21h8.25"
|
|
101
|
-
),
|
|
102
|
-
bell: stroke24(
|
|
103
|
-
"M14.857 17.082a23.848 23.848 0 0 0 5.454-1.31A8.967 8.967 0 0 1 18 9.75V9A6 6 0 0 0 6 9v.75a8.967 8.967 0 0 1-2.312 6.022c1.733.64 3.56 1.085 5.455 1.31m5.714 0a24.255 24.255 0 0 1-5.714 0m5.714 0a3 3 0 1 1-5.714 0"
|
|
104
|
-
),
|
|
105
|
-
mail: stroke24(
|
|
106
|
-
"M21.75 6.75v10.5a2.25 2.25 0 0 1-2.25 2.25h-15a2.25 2.25 0 0 1-2.25-2.25V6.75m19.5 0A2.25 2.25 0 0 0 19.5 4.5h-15a2.25 2.25 0 0 0-2.25 2.25m19.5 0v.243a2.25 2.25 0 0 1-1.07 1.916l-7.5 4.615a2.25 2.25 0 0 1-2.36 0L3.32 8.91a2.25 2.25 0 0 1-1.07-1.916V6.75"
|
|
107
|
-
),
|
|
108
|
-
phone: stroke24(
|
|
109
|
-
"M2.25 6.75c0 8.284 6.716 15 15 15h2.25a2.25 2.25 0 0 0 2.25-2.25v-1.372c0-.516-.351-.966-.852-1.091l-4.423-1.106c-.44-.11-.902.055-1.173.417l-.97 1.293c-.282.376-.769.542-1.21.38a12.035 12.035 0 0 1-7.143-7.143c-.162-.441.004-.928.38-1.21l1.293-.97c.363-.271.527-.734.417-1.173L6.963 3.102a1.125 1.125 0 0 0-1.091-.852H4.5A2.25 2.25 0 0 0 2.25 4.5v2.25Z"
|
|
110
|
-
),
|
|
111
|
-
download: stroke24(
|
|
112
|
-
"M3 16.5v2.25A2.25 2.25 0 0 0 5.25 21h13.5A2.25 2.25 0 0 0 21 18.75V16.5M16.5 12 12 16.5m0 0L7.5 12m4.5 4.5V3"
|
|
113
|
-
),
|
|
114
|
-
upload: stroke24(
|
|
115
|
-
"M3 16.5v2.25A2.25 2.25 0 0 0 5.25 21h13.5A2.25 2.25 0 0 0 21 18.75V16.5m-13.5-9L12 3m0 0 4.5 4.5M12 3v13.5"
|
|
116
|
-
),
|
|
117
|
-
filter: stroke24(
|
|
118
|
-
"M12 3c2.755 0 5.455.232 8.083.678.533.09.917.556.917 1.096v1.044a2.25 2.25 0 0 1-.659 1.591l-5.432 5.432a2.25 2.25 0 0 0-.659 1.591v2.927a2.25 2.25 0 0 1-1.244 2.013L9.75 21v-6.568a2.25 2.25 0 0 0-.659-1.591L3.659 7.409A2.25 2.25 0 0 1 3 5.818V4.774c0-.54.384-1.006.917-1.096A48.32 48.32 0 0 1 12 3Z"
|
|
119
|
-
),
|
|
120
|
-
refresh: stroke24(
|
|
121
|
-
"M16.023 9.348h4.992v-.001M2.985 19.644v-4.992m0 0h4.992m-4.993 0 3.181 3.183a8.25 8.25 0 0 0 13.803-3.7M4.031 9.865a8.25 8.25 0 0 1 13.803-3.7l3.181 3.182m0-4.991v4.99"
|
|
122
|
-
),
|
|
123
|
-
logout: stroke24(
|
|
124
|
-
"M15.75 9V5.25A2.25 2.25 0 0 0 13.5 3h-6a2.25 2.25 0 0 0-2.25 2.25v13.5A2.25 2.25 0 0 0 7.5 21h6a2.25 2.25 0 0 0 2.25-2.25V15M12 9l-3 3m0 0 3 3m-3-3h12.75"
|
|
125
|
-
),
|
|
126
|
-
lock: stroke24(
|
|
127
|
-
"M16.5 10.5V6.75a4.5 4.5 0 1 0-9 0v3.75m-.75 11.25h10.5a2.25 2.25 0 0 0 2.25-2.25v-6.75a2.25 2.25 0 0 0-2.25-2.25H6.75a2.25 2.25 0 0 0-2.25 2.25v6.75a2.25 2.25 0 0 0 2.25 2.25Z"
|
|
128
|
-
),
|
|
129
|
-
star: stroke24(
|
|
130
|
-
"M11.48 3.499a.562.562 0 0 1 1.04 0l2.125 5.111a.563.563 0 0 0 .475.345l5.518.442c.499.04.701.663.321.988l-4.204 3.602a.563.563 0 0 0-.182.557l1.285 5.385a.562.562 0 0 1-.84.61l-4.725-2.885a.562.562 0 0 0-.586 0L6.982 20.54a.562.562 0 0 1-.84-.61l1.285-5.386a.562.562 0 0 0-.182-.557l-4.204-3.602a.562.562 0 0 1 .321-.988l5.518-.442a.563.563 0 0 0 .475-.345L11.48 3.5Z"
|
|
131
|
-
),
|
|
132
|
-
heart: stroke24(
|
|
133
|
-
"M21 8.25c0-2.485-2.099-4.5-4.688-4.5-1.935 0-3.597 1.126-4.312 2.733-.715-1.607-2.377-2.733-4.313-2.733C5.1 3.75 3 5.765 3 8.25c0 7.22 9 12 9 12s9-4.78 9-12Z"
|
|
134
|
-
),
|
|
135
|
-
copy: stroke24(
|
|
136
|
-
"M15.75 17.25v3.375c0 .621-.504 1.125-1.125 1.125h-9.75a1.125 1.125 0 0 1-1.125-1.125V7.875c0-.621.504-1.125 1.125-1.125H6.75a9.06 9.06 0 0 1 1.5.124m7.5 10.376h3.375c.621 0 1.125-.504 1.125-1.125V11.25c0-4.46-3.243-8.161-7.5-8.876a9.06 9.06 0 0 0-1.5-.124H9.375c-.621 0-1.125.504-1.125 1.125v3.5m7.5 10.375H9.375a1.125 1.125 0 0 1-1.125-1.125v-9.25m12 6.625v-1.875a3.375 3.375 0 0 0-3.375-3.375h-1.5a1.125 1.125 0 0 1-1.125-1.125v-1.5a3.375 3.375 0 0 0-3.375-3.375H9.75"
|
|
137
|
-
),
|
|
138
|
-
link: stroke24(
|
|
139
|
-
"M13.19 8.688a4.5 4.5 0 0 1 1.242 7.244l-4.5 4.5a4.5 4.5 0 0 1-6.364-6.364l1.757-1.757m13.35-.622 1.757-1.757a4.5 4.5 0 0 0-6.364-6.364l-4.5 4.5a4.5 4.5 0 0 0 1.242 7.244"
|
|
140
|
-
),
|
|
141
|
-
document: stroke24(
|
|
142
|
-
"M19.5 14.25v-2.625a3.375 3.375 0 0 0-3.375-3.375h-1.5A1.125 1.125 0 0 1 13.5 7.125v-1.5a3.375 3.375 0 0 0-3.375-3.375H8.25m0 12.75h7.5m-7.5 3H12M10.5 2.25H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 0 0-9-9Z"
|
|
143
|
-
),
|
|
144
|
-
folder: stroke24(
|
|
145
|
-
"M2.25 12.75V12A2.25 2.25 0 0 1 4.5 9.75h15A2.25 2.25 0 0 1 21.75 12v.75m-8.69-6.44-2.12-2.12a1.5 1.5 0 0 0-1.061-.44H4.5A2.25 2.25 0 0 0 2.25 6v12a2.25 2.25 0 0 0 2.25 2.25h15A2.25 2.25 0 0 0 21.75 18V9a2.25 2.25 0 0 0-2.25-2.25h-5.379a1.5 1.5 0 0 1-1.06-.44Z"
|
|
146
|
-
),
|
|
147
|
-
image: stroke24(
|
|
148
|
-
"m2.25 15.75 5.159-5.159a2.25 2.25 0 0 1 3.182 0l5.159 5.159m-1.5-1.5 1.409-1.409a2.25 2.25 0 0 1 3.182 0l2.909 2.909m-18 3.75h16.5a1.5 1.5 0 0 0 1.5-1.5V6a1.5 1.5 0 0 0-1.5-1.5H3.75A1.5 1.5 0 0 0 2.25 6v12a1.5 1.5 0 0 0 1.5 1.5Zm10.5-11.25h.008v.008h-.008V8.25Zm.375 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Z"
|
|
149
|
-
),
|
|
150
|
-
"map-pin": stroke24(
|
|
151
|
-
"M15 10.5a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z",
|
|
152
|
-
"M19.5 10.5c0 7.142-7.5 11.25-7.5 11.25S4.5 17.642 4.5 10.5a7.5 7.5 0 1 1 15 0Z"
|
|
153
|
-
),
|
|
154
|
-
"check-circle": stroke24("M9 12.75 11.25 15 15 9.75M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"),
|
|
155
|
-
"x-circle": stroke24("m9.75 9.75 4.5 4.5m0-4.5-4.5 4.5M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"),
|
|
156
|
-
users: stroke24(
|
|
157
|
-
"M15 19.128a9.38 9.38 0 0 0 2.625.372 9.337 9.337 0 0 0 4.121-.952 4.125 4.125 0 0 0-7.533-2.493M15 19.128v-.003c0-1.113-.285-2.16-.786-3.07M15 19.128v.106A12.318 12.318 0 0 1 8.624 21c-2.331 0-4.512-.645-6.374-1.766l-.001-.109a6.375 6.375 0 0 1 11.964-3.07M12 6.375a3.375 3.375 0 1 1-6.75 0 3.375 3.375 0 0 1 6.75 0Zm8.25 2.25a2.625 2.625 0 1 1-5.25 0 2.625 2.625 0 0 1 5.25 0Z"
|
|
158
|
-
),
|
|
159
|
-
dashboard: stroke24(
|
|
160
|
-
"M3.75 6A2.25 2.25 0 0 1 6 3.75h2.25A2.25 2.25 0 0 1 10.5 6v2.25a2.25 2.25 0 0 1-2.25 2.25H6a2.25 2.25 0 0 1-2.25-2.25V6ZM3.75 15.75A2.25 2.25 0 0 1 6 13.5h2.25a2.25 2.25 0 0 1 2.25 2.25V18a2.25 2.25 0 0 1-2.25 2.25H6A2.25 2.25 0 0 1 3.75 18v-2.25ZM13.5 6a2.25 2.25 0 0 1 2.25-2.25H18A2.25 2.25 0 0 1 20.25 6v2.25A2.25 2.25 0 0 1 18 10.5h-2.25a2.25 2.25 0 0 1-2.25-2.25V6ZM13.5 15.75a2.25 2.25 0 0 1 2.25-2.25H18a2.25 2.25 0 0 1 2.25 2.25V18A2.25 2.25 0 0 1 18 20.25h-2.25A2.25 2.25 0 0 1 13.5 18v-2.25Z"
|
|
161
|
-
)
|
|
162
|
-
};
|
|
163
|
-
var iconNames = Object.keys(iconRegistry);
|
|
164
|
-
function getIconDefinition(name) {
|
|
165
|
-
return iconRegistry[name];
|
|
166
|
-
}
|
|
167
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
168
|
-
0 && (module.exports = {
|
|
169
|
-
getIconDefinition,
|
|
170
|
-
iconNames,
|
|
171
|
-
iconRegistry
|
|
172
|
-
});
|
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Named built-in icon set.
|
|
3
|
-
*
|
|
4
|
-
* Exposes a small, curated collection of 24x24 outline (stroke) icons so the
|
|
5
|
-
* public `Icon` component can render glyphs by `name` instead of every consumer
|
|
6
|
-
* hand-authoring inline SVG. Definitions are framework-agnostic path data; the
|
|
7
|
-
* Vue/React `Icon` components turn an `IconDefinition` into an `<svg>`.
|
|
8
|
-
*
|
|
9
|
-
* The set is intentionally additive — new entries can be appended without
|
|
10
|
-
* breaking existing usage. Where an icon already exists internally (close,
|
|
11
|
-
* status glyphs) the shared constant is reused.
|
|
12
|
-
*
|
|
13
|
-
* Subpath: `@expcat/tigercat-core/icons/registry`
|
|
14
|
-
*/
|
|
15
|
-
/**
|
|
16
|
-
* Rendering mode for a built-in icon.
|
|
17
|
-
* - `stroke`: outline icon drawn with `stroke="currentColor"` and `fill="none"`.
|
|
18
|
-
* - `fill`: solid icon drawn with `fill="currentColor"` and `stroke="none"`.
|
|
19
|
-
*/
|
|
20
|
-
type IconRenderMode = 'stroke' | 'fill';
|
|
21
|
-
/**
|
|
22
|
-
* A single built-in icon definition.
|
|
23
|
-
*/
|
|
24
|
-
interface IconDefinition {
|
|
25
|
-
/** SVG `viewBox` for the paths. */
|
|
26
|
-
viewBox: string;
|
|
27
|
-
/** One or more `<path d="...">` strings composing the glyph. */
|
|
28
|
-
paths: string[];
|
|
29
|
-
/** How the paths should be painted. @default 'stroke' */
|
|
30
|
-
mode: IconRenderMode;
|
|
31
|
-
}
|
|
32
|
-
/**
|
|
33
|
-
* Built-in icon registry keyed by icon name.
|
|
34
|
-
*/
|
|
35
|
-
declare const iconRegistry: {
|
|
36
|
-
close: IconDefinition;
|
|
37
|
-
success: IconDefinition;
|
|
38
|
-
warning: IconDefinition;
|
|
39
|
-
error: IconDefinition;
|
|
40
|
-
info: IconDefinition;
|
|
41
|
-
check: IconDefinition;
|
|
42
|
-
'chevron-up': IconDefinition;
|
|
43
|
-
'chevron-down': IconDefinition;
|
|
44
|
-
'chevron-left': IconDefinition;
|
|
45
|
-
'chevron-right': IconDefinition;
|
|
46
|
-
'arrow-left': IconDefinition;
|
|
47
|
-
'arrow-right': IconDefinition;
|
|
48
|
-
'arrow-up': IconDefinition;
|
|
49
|
-
'arrow-down': IconDefinition;
|
|
50
|
-
search: IconDefinition;
|
|
51
|
-
plus: IconDefinition;
|
|
52
|
-
minus: IconDefinition;
|
|
53
|
-
edit: IconDefinition;
|
|
54
|
-
trash: IconDefinition;
|
|
55
|
-
user: IconDefinition;
|
|
56
|
-
settings: IconDefinition;
|
|
57
|
-
eye: IconDefinition;
|
|
58
|
-
'eye-off': IconDefinition;
|
|
59
|
-
calendar: IconDefinition;
|
|
60
|
-
clock: IconDefinition;
|
|
61
|
-
menu: IconDefinition;
|
|
62
|
-
'more-horizontal': IconDefinition;
|
|
63
|
-
'more-vertical': IconDefinition;
|
|
64
|
-
'external-link': IconDefinition;
|
|
65
|
-
home: IconDefinition;
|
|
66
|
-
bell: IconDefinition;
|
|
67
|
-
mail: IconDefinition;
|
|
68
|
-
phone: IconDefinition;
|
|
69
|
-
download: IconDefinition;
|
|
70
|
-
upload: IconDefinition;
|
|
71
|
-
filter: IconDefinition;
|
|
72
|
-
refresh: IconDefinition;
|
|
73
|
-
logout: IconDefinition;
|
|
74
|
-
lock: IconDefinition;
|
|
75
|
-
star: IconDefinition;
|
|
76
|
-
heart: IconDefinition;
|
|
77
|
-
copy: IconDefinition;
|
|
78
|
-
link: IconDefinition;
|
|
79
|
-
document: IconDefinition;
|
|
80
|
-
folder: IconDefinition;
|
|
81
|
-
image: IconDefinition;
|
|
82
|
-
'map-pin': IconDefinition;
|
|
83
|
-
'check-circle': IconDefinition;
|
|
84
|
-
'x-circle': IconDefinition;
|
|
85
|
-
users: IconDefinition;
|
|
86
|
-
dashboard: IconDefinition;
|
|
87
|
-
};
|
|
88
|
-
/**
|
|
89
|
-
* Union of all built-in icon names.
|
|
90
|
-
*/
|
|
91
|
-
type IconName = keyof typeof iconRegistry;
|
|
92
|
-
/**
|
|
93
|
-
* All built-in icon names (useful for documentation / iteration).
|
|
94
|
-
*/
|
|
95
|
-
declare const iconNames: IconName[];
|
|
96
|
-
/**
|
|
97
|
-
* Look up a built-in icon definition by name. Returns `undefined` for unknown
|
|
98
|
-
* names so callers can fall back gracefully.
|
|
99
|
-
*/
|
|
100
|
-
declare function getIconDefinition(name: string): IconDefinition | undefined;
|
|
101
|
-
|
|
102
|
-
export { type IconDefinition, type IconName, type IconRenderMode, getIconDefinition, iconNames, iconRegistry };
|