@namba_one/ui-kit-2 1.5.0 → 1.5.2

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.
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
- "generatedAt": "2026-07-29T12:20:58.463Z",
3
+ "generatedAt": "2026-08-23T16:04:52.852Z",
4
4
  "package": {
5
5
  "name": "@namba_one/ui-kit-2",
6
- "version": "1.4.1",
6
+ "version": "1.5.1",
7
7
  "main": "dist/index.umd.js",
8
8
  "module": "dist/index.es.js",
9
9
  "types": "dist/index.d.ts",
@@ -1863,7 +1863,7 @@
1863
1863
  ]
1864
1864
  },
1865
1865
  "model": {
1866
- "source": "export type FilterGroup_DateProps = {\n buttonTitle: string\n withTimeRange?: boolean\n view?: (typeof views)[number]\n title?: string\n fromPlaceholder?: string\n toPlaceholder?: string\n fromTimePlaceholder?: string\n toTimePlaceholder?: string\n minWidth?: number\n}\n\nexport type FilterGroup_DateValue = [Maybe<Date>, Maybe<Date>]\n\nexport const views = ['surface-shadow', 'base'] as const\n"
1866
+ "source": "export type FilterGroup_DateProps = {\n buttonTitle: string\n withTimeRange?: boolean\n timeFormat?: (typeof timeFormats)[number]\n view?: (typeof views)[number]\n title?: string\n fromPlaceholder?: string\n toPlaceholder?: string\n fromTimePlaceholder?: string\n toTimePlaceholder?: string\n minWidth?: number\n}\n\nexport type FilterGroup_DateValue = [Maybe<Date>, Maybe<Date>]\n\nexport const views = ['surface-shadow', 'base'] as const\nexport const timeFormats = ['HH:mm', 'HH:mm:ss'] as const\n"
1867
1867
  },
1868
1868
  "stories": {
1869
1869
  "variants": [
@@ -1973,7 +1973,7 @@
1973
1973
  ]
1974
1974
  },
1975
1975
  "model": {
1976
- "source": "export type FilterGroup_SortProps = {\n list: {\n label: string\n value: string | number\n type?: 'asc' | 'desc'\n }[]\n minWidth?: number\n}\n\nexport type FilterGroup_SortValue = string | number\n"
1976
+ "source": "export type FilterGroup_SortProps = {\n list: {\n label: string\n value: string | number\n type?: 'asc' | 'desc'\n }[]\n minWidth?: number\n withIcon?: boolean\n}\n\nexport type FilterGroup_SortValue = string | number\n"
1977
1977
  },
1978
1978
  "stories": null,
1979
1979
  "meta": {
@@ -2404,7 +2404,7 @@
2404
2404
  ]
2405
2405
  },
2406
2406
  "model": {
2407
- "source": "import type { IconName } from '@/shared/ui/Icon'\nimport type { InputHTMLAttributes } from 'vue'\nimport { IMask } from 'vue-imask'\n\nexport const sizes = ['34', '44', 34, 44] as const\n\nexport type InputProps = {\n value?: string | null\n type?: 'text' | 'password'\n label?: string\n description?: string\n placeholder: string\n placeholderOnFocus?: string\n errorText?: string\n isError?: boolean\n isDisabled?: boolean\n mask?: keyof typeof masks\n inputmode?: InputHTMLAttributes['inputmode']\n autocomplete?: InputHTMLAttributes['autocomplete']\n maxLength?: number | string\n autofocus?: boolean\n size?: (typeof sizes)[number]\n\n iconLeft?: IconName\n iconRight?: IconName\n}\n\nexport type InputSkeletonProps = Pick<InputProps, 'size'> & {\n isShowLabel?: boolean\n placeholder?: string\n}\n\nexport const masks = {\n phone: {\n mask: '+{996} 000 000 000',\n },\n rubles: {\n mask: [\n {\n mask: '',\n lazy: true,\n },\n {\n mask: `num ₽`,\n lazy: false,\n blocks: {\n num: {\n mask: Number,\n min: 0,\n thousandsSeparator: ' ',\n radix: ',',\n mapToRadix: ['.'],\n },\n },\n },\n ],\n },\n money: {\n mask: [\n {\n mask: '',\n lazy: true,\n },\n {\n mask: 'num',\n lazy: false,\n blocks: {\n num: {\n mask: Number,\n min: 0,\n thousandsSeparator: ' ',\n radix: ',',\n mapToRadix: ['.'],\n },\n },\n },\n ],\n },\n number: { mask: Number },\n any: { mask: String },\n date: {\n mask: Date,\n lazy: true,\n },\n time: {\n mask: 'HH:MM',\n blocks: {\n HH: {\n mask: IMask.MaskedRange,\n from: 0,\n to: 23,\n maxLength: 2,\n },\n MM: {\n mask: IMask.MaskedRange,\n from: 0,\n to: 59,\n maxLength: 2,\n },\n },\n lazy: true,\n },\n}\n"
2407
+ "source": "import type { IconName } from '@/shared/ui/Icon'\nimport type { InputHTMLAttributes } from 'vue'\nimport { IMask } from 'vue-imask'\n\nexport const sizes = ['34', '44', 34, 44] as const\n\nexport type InputProps = {\n value?: string | null\n type?: 'text' | 'password'\n label?: string\n description?: string\n placeholder: string\n placeholderOnFocus?: string\n errorText?: string\n isError?: boolean\n isDisabled?: boolean\n mask?: keyof typeof masks\n inputmode?: InputHTMLAttributes['inputmode']\n autocomplete?: InputHTMLAttributes['autocomplete']\n maxLength?: number | string\n autofocus?: boolean\n size?: (typeof sizes)[number]\n\n iconLeft?: IconName\n iconRight?: IconName\n}\n\nexport type InputSkeletonProps = Pick<InputProps, 'size'> & {\n isShowLabel?: boolean\n placeholder?: string\n}\n\nexport const masks = {\n phone: {\n mask: '+{996} 000 000 000',\n },\n rubles: {\n mask: [\n {\n mask: '',\n lazy: true,\n },\n {\n mask: `num ₽`,\n lazy: false,\n blocks: {\n num: {\n mask: Number,\n min: 0,\n thousandsSeparator: ' ',\n radix: ',',\n mapToRadix: ['.'],\n },\n },\n },\n ],\n },\n money: {\n mask: [\n {\n mask: '',\n lazy: true,\n },\n {\n mask: 'num',\n lazy: false,\n blocks: {\n num: {\n mask: Number,\n min: 0,\n thousandsSeparator: ' ',\n radix: ',',\n mapToRadix: ['.'],\n },\n },\n },\n ],\n },\n number: { mask: Number },\n any: { mask: String },\n date: {\n mask: Date,\n lazy: true,\n },\n time: {\n mask: 'HH:MM',\n blocks: {\n HH: {\n mask: IMask.MaskedRange,\n from: 0,\n to: 23,\n maxLength: 2,\n },\n MM: {\n mask: IMask.MaskedRange,\n from: 0,\n to: 59,\n maxLength: 2,\n },\n },\n lazy: true,\n },\n 'time-with-seconds': {\n mask: 'HH:MM:SS',\n blocks: {\n HH: {\n mask: IMask.MaskedRange,\n from: 0,\n to: 23,\n maxLength: 2,\n },\n MM: {\n mask: IMask.MaskedRange,\n from: 0,\n to: 59,\n maxLength: 2,\n },\n SS: {\n mask: IMask.MaskedRange,\n from: 0,\n to: 59,\n maxLength: 2,\n },\n },\n lazy: true,\n },\n}\n"
2408
2408
  },
2409
2409
  "stories": {
2410
2410
  "variants": [
@@ -2605,7 +2605,7 @@
2605
2605
  ]
2606
2606
  },
2607
2607
  "model": {
2608
- "source": "import type { IconName } from '@/shared/ui/Icon'\nimport type { InputHTMLAttributes } from 'vue'\nimport { IMask } from 'vue-imask'\n\nexport const sizes = ['34', '44', 34, 44] as const\n\nexport type InputProps = {\n value?: string | null\n type?: 'text' | 'password'\n label?: string\n description?: string\n placeholder: string\n placeholderOnFocus?: string\n errorText?: string\n isError?: boolean\n isDisabled?: boolean\n mask?: keyof typeof masks\n inputmode?: InputHTMLAttributes['inputmode']\n autocomplete?: InputHTMLAttributes['autocomplete']\n maxLength?: number | string\n autofocus?: boolean\n size?: (typeof sizes)[number]\n\n iconLeft?: IconName\n iconRight?: IconName\n}\n\nexport type InputSkeletonProps = Pick<InputProps, 'size'> & {\n isShowLabel?: boolean\n placeholder?: string\n}\n\nexport const masks = {\n phone: {\n mask: '+{996} 000 000 000',\n },\n rubles: {\n mask: [\n {\n mask: '',\n lazy: true,\n },\n {\n mask: `num ₽`,\n lazy: false,\n blocks: {\n num: {\n mask: Number,\n min: 0,\n thousandsSeparator: ' ',\n radix: ',',\n mapToRadix: ['.'],\n },\n },\n },\n ],\n },\n money: {\n mask: [\n {\n mask: '',\n lazy: true,\n },\n {\n mask: 'num',\n lazy: false,\n blocks: {\n num: {\n mask: Number,\n min: 0,\n thousandsSeparator: ' ',\n radix: ',',\n mapToRadix: ['.'],\n },\n },\n },\n ],\n },\n number: { mask: Number },\n any: { mask: String },\n date: {\n mask: Date,\n lazy: true,\n },\n time: {\n mask: 'HH:MM',\n blocks: {\n HH: {\n mask: IMask.MaskedRange,\n from: 0,\n to: 23,\n maxLength: 2,\n },\n MM: {\n mask: IMask.MaskedRange,\n from: 0,\n to: 59,\n maxLength: 2,\n },\n },\n lazy: true,\n },\n}\n"
2608
+ "source": "import type { IconName } from '@/shared/ui/Icon'\nimport type { InputHTMLAttributes } from 'vue'\nimport { IMask } from 'vue-imask'\n\nexport const sizes = ['34', '44', 34, 44] as const\n\nexport type InputProps = {\n value?: string | null\n type?: 'text' | 'password'\n label?: string\n description?: string\n placeholder: string\n placeholderOnFocus?: string\n errorText?: string\n isError?: boolean\n isDisabled?: boolean\n mask?: keyof typeof masks\n inputmode?: InputHTMLAttributes['inputmode']\n autocomplete?: InputHTMLAttributes['autocomplete']\n maxLength?: number | string\n autofocus?: boolean\n size?: (typeof sizes)[number]\n\n iconLeft?: IconName\n iconRight?: IconName\n}\n\nexport type InputSkeletonProps = Pick<InputProps, 'size'> & {\n isShowLabel?: boolean\n placeholder?: string\n}\n\nexport const masks = {\n phone: {\n mask: '+{996} 000 000 000',\n },\n rubles: {\n mask: [\n {\n mask: '',\n lazy: true,\n },\n {\n mask: `num ₽`,\n lazy: false,\n blocks: {\n num: {\n mask: Number,\n min: 0,\n thousandsSeparator: ' ',\n radix: ',',\n mapToRadix: ['.'],\n },\n },\n },\n ],\n },\n money: {\n mask: [\n {\n mask: '',\n lazy: true,\n },\n {\n mask: 'num',\n lazy: false,\n blocks: {\n num: {\n mask: Number,\n min: 0,\n thousandsSeparator: ' ',\n radix: ',',\n mapToRadix: ['.'],\n },\n },\n },\n ],\n },\n number: { mask: Number },\n any: { mask: String },\n date: {\n mask: Date,\n lazy: true,\n },\n time: {\n mask: 'HH:MM',\n blocks: {\n HH: {\n mask: IMask.MaskedRange,\n from: 0,\n to: 23,\n maxLength: 2,\n },\n MM: {\n mask: IMask.MaskedRange,\n from: 0,\n to: 59,\n maxLength: 2,\n },\n },\n lazy: true,\n },\n 'time-with-seconds': {\n mask: 'HH:MM:SS',\n blocks: {\n HH: {\n mask: IMask.MaskedRange,\n from: 0,\n to: 23,\n maxLength: 2,\n },\n MM: {\n mask: IMask.MaskedRange,\n from: 0,\n to: 59,\n maxLength: 2,\n },\n SS: {\n mask: IMask.MaskedRange,\n from: 0,\n to: 59,\n maxLength: 2,\n },\n },\n lazy: true,\n },\n}\n"
2609
2609
  },
2610
2610
  "stories": null,
2611
2611
  "meta": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@namba_one/ui-kit-2",
3
- "version": "1.5.0",
3
+ "version": "1.5.2",
4
4
  "main": "dist/index.umd.js",
5
5
  "module": "dist/index.es.js",
6
6
  "types": "dist/index.d.ts",