@feugene/granularity 0.48.0 → 0.49.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 +3 -3
- package/dist/chunks/{config-2vrOFn2f.js → config-AKpLyIGD.js} +2 -2
- package/dist/chunks/{config-2vrOFn2f.js.map → config-AKpLyIGD.js.map} +1 -1
- package/dist/chunks/config-BBtBQE3s.js +108 -0
- package/dist/chunks/config-BBtBQE3s.js.map +1 -0
- package/dist/chunks/{config-BscVxZR3.js → config-DF1ezU6y.js} +1 -1
- package/dist/chunks/{config-BscVxZR3.js.map → config-DF1ezU6y.js.map} +1 -1
- package/dist/chunks/config-MUkhktTP.js +267 -0
- package/dist/chunks/config-MUkhktTP.js.map +1 -0
- package/dist/chunks/{en-Bxyn5lW7.js → en-CsQUoBS2.js} +5 -1
- package/dist/chunks/en-CsQUoBS2.js.map +1 -0
- package/dist/chunks/{es-Dtl-a7ui.js → es-9nbkPvdA.js} +5 -1
- package/dist/chunks/es-9nbkPvdA.js.map +1 -0
- package/dist/chunks/{es-Bj_vc18Z.js → es-DrUz5J6I.js} +3 -3
- package/dist/chunks/{es-Bj_vc18Z.js.map → es-DrUz5J6I.js.map} +1 -1
- package/dist/chunks/{generated-hELWB0gZ.js → generated-CxvC5O0V.js} +42 -0
- package/dist/chunks/{generated-hELWB0gZ.js.map → generated-CxvC5O0V.js.map} +1 -1
- package/dist/chunks/{grBadgeStyles-DV0DrAew.js → grBadgeStyles-D51AXbj5.js} +57 -1
- package/dist/chunks/grBadgeStyles-D51AXbj5.js.map +1 -0
- package/dist/chunks/{grChipStyles-DcDyxAL0.js → grChipStyles-CA9Wj1_E.js} +1 -1
- package/dist/chunks/{grChipStyles-DcDyxAL0.js.map → grChipStyles-CA9Wj1_E.js.map} +1 -1
- package/dist/chunks/{granular-provider-BOQp7N5o.js → granular-provider-B6xomapW.js} +5 -3
- package/dist/chunks/granular-provider-B6xomapW.js.map +1 -0
- package/dist/chunks/{ru-hrB4I1u_.js → ru-88i1WG0b.js} +5 -1
- package/dist/chunks/ru-88i1WG0b.js.map +1 -0
- package/dist/chunks/{safelist-x8USecK8.js → safelist-CSfynUC1.js} +5 -1
- package/dist/chunks/safelist-CSfynUC1.js.map +1 -0
- package/dist/components/GrAutocomplete/chunks/{GrAutocomplete-C-uovdv8.js → GrAutocomplete-Chhw65pI.js} +2 -2
- package/dist/components/GrAutocomplete/chunks/{GrAutocomplete-C-uovdv8.js.map → GrAutocomplete-Chhw65pI.js.map} +1 -1
- package/dist/components/GrAutocomplete/index.js +1 -1
- package/dist/components/GrBadge/chunks/GrBadge-C42KLyUD.js +71 -0
- package/dist/components/GrBadge/chunks/GrBadge-C42KLyUD.js.map +1 -0
- package/dist/components/GrBadge/index.js +3 -3
- package/dist/components/GrBadge/styles.css +1 -1
- package/dist/components/GrChip/chunks/{GrChip-CKqyzYcv.js → GrChip-DoyS1Dr4.js} +1 -1
- package/dist/components/GrChip/chunks/{GrChip-CKqyzYcv.js.map → GrChip-DoyS1Dr4.js.map} +1 -1
- package/dist/components/GrChip/index.js +2 -2
- package/dist/components/GrInputTag/chunks/{GrInputTag-CO0YU-ok.js → GrInputTag-qnRdAZnn.js} +2 -2
- package/dist/components/GrInputTag/chunks/{GrInputTag-CO0YU-ok.js.map → GrInputTag-qnRdAZnn.js.map} +1 -1
- package/dist/components/GrInputTag/index.js +1 -1
- package/dist/components/GrOtpInput/chunks/GrOtpInput-B_Q-RDLw.js +419 -0
- package/dist/components/GrOtpInput/chunks/GrOtpInput-B_Q-RDLw.js.map +1 -0
- package/dist/components/GrOtpInput/index.js +3 -0
- package/dist/components/GrOtpInput/styles.css +1 -0
- package/dist/components/GrPagination/chunks/{GrPagination-BbaF5eXk.js → GrPagination-CMrLPzvL.js} +1 -1
- package/dist/components/GrPagination/chunks/{GrPagination-BbaF5eXk.js.map → GrPagination-CMrLPzvL.js.map} +1 -1
- package/dist/components/GrPagination/index.js +1 -1
- package/dist/components/GrSelect/chunks/{GrSelect-0iI4wdR_.js → GrSelect-DvSq-nV-.js} +2 -2
- package/dist/components/GrSelect/chunks/{GrSelect-0iI4wdR_.js.map → GrSelect-DvSq-nV-.js.map} +1 -1
- package/dist/components/GrSelect/index.js +1 -1
- package/dist/components/GrSwitch/chunks/{GrSwitch-CriHWT2A.js → GrSwitch-D7X42uIA.js} +61 -7
- package/dist/components/GrSwitch/chunks/GrSwitch-D7X42uIA.js.map +1 -0
- package/dist/components/GrSwitch/index.js +2 -2
- package/dist/granular-provider-node.js +1 -1
- package/dist/granular-provider.js +1 -1
- package/dist/i18n/all.js +1 -1
- package/dist/i18n/index.js +1 -1
- package/dist/index.js +14 -13
- package/dist/theme.js +1 -1
- package/dist/tokens.js +1 -1
- package/dist/types/components/GrBadge/GrBadge.vue.d.ts +15 -1
- package/dist/types/components/GrBadge/grBadgeStyles.d.ts +57 -0
- package/dist/types/components/GrBadge/index.d.ts +1 -1
- package/dist/types/components/GrOtpInput/GrOtpInput.vue.d.ts +164 -0
- package/dist/types/components/GrOtpInput/config.d.ts +1 -0
- package/dist/types/components/GrOtpInput/defaults.d.ts +15 -0
- package/dist/types/components/GrOtpInput/grOtpInputStyles.d.ts +62 -0
- package/dist/types/components/GrOtpInput/index.d.ts +9 -0
- package/dist/types/components/GrOtpInput/otpValue.d.ts +71 -0
- package/dist/types/components/GrOtpInput/safelist.d.ts +7 -0
- package/dist/types/components/GrSwitch/GrSwitch.vue.d.ts +42 -4
- package/dist/types/components/GrSwitch/defaults.d.ts +2 -0
- package/dist/types/components/GrSwitch/grSwitchStyles.d.ts +129 -25
- package/dist/types/components/GrSwitch/index.d.ts +1 -1
- package/dist/types/components/GrSwitch/safelist.d.ts +4 -3
- package/dist/types/granular-provider/shared.d.ts +1 -0
- package/dist/types/i18n/messages/en.d.ts +4 -0
- package/dist/types/i18n/messages/es.d.ts +4 -0
- package/dist/types/i18n/messages/ru.d.ts +4 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/web-types.json +254 -8
- package/package.json +5 -1
- package/dist/chunks/config-Yy67uWHY.js +0 -140
- package/dist/chunks/config-Yy67uWHY.js.map +0 -1
- package/dist/chunks/en-Bxyn5lW7.js.map +0 -1
- package/dist/chunks/es-Dtl-a7ui.js.map +0 -1
- package/dist/chunks/grBadgeStyles-DV0DrAew.js.map +0 -1
- package/dist/chunks/granular-provider-BOQp7N5o.js.map +0 -1
- package/dist/chunks/ru-hrB4I1u_.js.map +0 -1
- package/dist/chunks/safelist-x8USecK8.js.map +0 -1
- package/dist/components/GrBadge/chunks/GrBadge-DBeQXEir.js +0 -47
- package/dist/components/GrBadge/chunks/GrBadge-DBeQXEir.js.map +0 -1
- package/dist/components/GrSwitch/chunks/GrSwitch-CriHWT2A.js.map +0 -1
|
@@ -9,12 +9,12 @@ var GRANULARITY_I18N_BLOCK = "gr";
|
|
|
9
9
|
* can import only the languages they actually need — see the
|
|
10
10
|
* "Authoring localization packages" guide in the docs.
|
|
11
11
|
*/
|
|
12
|
-
var en = { en: { ["gr"]: () => import("./en-
|
|
12
|
+
var en = { en: { ["gr"]: () => import("./en-CsQUoBS2.js") } };
|
|
13
13
|
//#endregion
|
|
14
14
|
//#region src/i18n/messages/ru.ts
|
|
15
|
-
var ru = { ru: { ["gr"]: () => import("./ru-
|
|
15
|
+
var ru = { ru: { ["gr"]: () => import("./ru-88i1WG0b.js") } };
|
|
16
16
|
//#endregion
|
|
17
17
|
//#region src/i18n/messages/es.ts
|
|
18
|
-
var es = { es: { ["gr"]: () => import("./es-
|
|
18
|
+
var es = { es: { ["gr"]: () => import("./es-9nbkPvdA.js") } };
|
|
19
19
|
//#endregion
|
|
20
20
|
export { GRANULARITY_I18N_BLOCK as i, ru as n, en as r, es as t };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"es-
|
|
1
|
+
{"version":3,"file":"es-DrUz5J6I.js","names":[],"sources":["../../src/i18n/messages/const.ts","../../src/i18n/messages/en.ts","../../src/i18n/messages/ru.ts","../../src/i18n/messages/es.ts"],"sourcesContent":["export const GRANULARITY_I18N_BLOCK = 'gr'\n","import type { LocaleLoaderCollection } from '@feugene/fint-i18n/core'\nimport { GRANULARITY_I18N_BLOCK } from './const'\n\n/**\n * English locale loaders for the playground app.\n *\n * Exported separately from other locales so that consumers (and bundlers)\n * can import only the languages they actually need — see the\n * \"Authoring localization packages\" guide in the docs.\n */\nexport const en = {\n en: {\n [GRANULARITY_I18N_BLOCK]: () => import('../locales/en.json'),\n },\n} satisfies LocaleLoaderCollection\n\nexport default en\n","import type { LocaleLoaderCollection } from '@feugene/fint-i18n/core'\nimport { GRANULARITY_I18N_BLOCK } from './const'\n\nexport const ru = {\n ru: {\n [GRANULARITY_I18N_BLOCK]: () => import('../locales/ru.json'),\n },\n} satisfies LocaleLoaderCollection\n\nexport default ru\n","import type { LocaleLoaderCollection } from '@feugene/fint-i18n/core'\nimport { GRANULARITY_I18N_BLOCK } from './const'\n\nexport const es = {\n es: {\n [GRANULARITY_I18N_BLOCK]: () => import('../locales/es.json'),\n },\n} satisfies LocaleLoaderCollection\n\nexport default es\n"],"mappings":";AAAA,IAAa,yBAAyB;;;;;;;;;;ACUtC,IAAa,KAAK,EAChB,IAAI,GAAA,aAC8B,OAAO,oBACzC,EACF;;;ACXA,IAAa,KAAK,EAChB,IAAI,GAAA,aAC8B,OAAO,oBACzC,EACF;;;ACJA,IAAa,KAAK,EAChB,IAAI,GAAA,aAC8B,OAAO,oBACzC,EACF"}
|
|
@@ -2892,6 +2892,27 @@ var grComponentTokens = [
|
|
|
2892
2892
|
"default": "56px",
|
|
2893
2893
|
"description": "Высота шапки. Ею же считается отступ содержимого под прилипшей шапкой."
|
|
2894
2894
|
},
|
|
2895
|
+
{
|
|
2896
|
+
"owner": "GrOtpInput",
|
|
2897
|
+
"name": "--gr-otp-input-cell-size",
|
|
2898
|
+
"kind": "hook",
|
|
2899
|
+
"default": "1.75rem / 2rem / 2.5rem / 2.75rem по ступеням xs…lg",
|
|
2900
|
+
"description": "Сторона ячейки. Повторяет высоту GrInput на той же ступени: код стоит в форме рядом с полями и обязан садиться с ними в одну линию. Через хук — квадратная ячейка это решение оформления, и макет вправе сделать её шире."
|
|
2901
|
+
},
|
|
2902
|
+
{
|
|
2903
|
+
"owner": "GrOtpInput",
|
|
2904
|
+
"name": "--gr-otp-input-active-brd",
|
|
2905
|
+
"kind": "hook",
|
|
2906
|
+
"default": "var(--gr-primary)",
|
|
2907
|
+
"description": "Цвет рамки активной ячейки — той, в которой стоит каретка."
|
|
2908
|
+
},
|
|
2909
|
+
{
|
|
2910
|
+
"owner": "GrOtpInput",
|
|
2911
|
+
"name": "--gr-otp-input-caret",
|
|
2912
|
+
"kind": "hook",
|
|
2913
|
+
"default": "var(--gr-primary)",
|
|
2914
|
+
"description": "Цвет каретки. Она рисуется своей: настоящая скрыта вместе с текстом поля."
|
|
2915
|
+
},
|
|
2895
2916
|
{
|
|
2896
2917
|
"owner": "GrPopover",
|
|
2897
2918
|
"name": "--gr-popover-max-width",
|
|
@@ -3375,6 +3396,27 @@ var grComponentTokens = [
|
|
|
3375
3396
|
"default": "var(--gr-primary) / var(--gr-brd) / var(--gr-disabled-brd)",
|
|
3376
3397
|
"description": "Цвет рамки дорожки переключателя."
|
|
3377
3398
|
},
|
|
3399
|
+
{
|
|
3400
|
+
"owner": "GrSwitch",
|
|
3401
|
+
"name": "--gr-switch-state-text-fg",
|
|
3402
|
+
"kind": "hook",
|
|
3403
|
+
"default": "var(--gr-primary-fg) во включённом состоянии, var(--gr-muted-fg) в выключенном, var(--gr-disabled-fg) в недоступном",
|
|
3404
|
+
"description": "Цвет подписи состояния внутри дорожки. Задан для того, кто красит дорожку своим цветом: контраст текста на произвольной заливке библиотека не вычислит."
|
|
3405
|
+
},
|
|
3406
|
+
{
|
|
3407
|
+
"owner": "GrSwitch",
|
|
3408
|
+
"name": "--gr-switch-state-text-size",
|
|
3409
|
+
"kind": "hook",
|
|
3410
|
+
"default": "9px на md, 11px на lg",
|
|
3411
|
+
"description": "Кегль подписи состояния. Собственный, а не ступень шкалы: минимальный --gr-text-xs (12px) в дорожку не помещается. Один токен на обе ступени."
|
|
3412
|
+
},
|
|
3413
|
+
{
|
|
3414
|
+
"owner": "GrSwitch",
|
|
3415
|
+
"name": "--gr-switch-thumb-fg",
|
|
3416
|
+
"kind": "hook",
|
|
3417
|
+
"default": "var(--gr-muted-fg)",
|
|
3418
|
+
"description": "Цвет содержимого бегунка — один на спиннер загрузки и иконку действия. По состоянию не ветвится: бегунок остаётся var(--gr-card) в любом из них."
|
|
3419
|
+
},
|
|
3378
3420
|
{
|
|
3379
3421
|
"owner": "GrTabs",
|
|
3380
3422
|
"name": "--gr-tabs-scroll-fade",
|