@alif-ui-test/core 2.0.0-alpha.6 → 2.0.0-alpha.7

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,4 +1,5 @@
1
1
  export * from './components';
2
2
  export * from './providers';
3
3
  export * from './hooks';
4
+ export * from './utils/class-names';
4
5
  //# sourceMappingURL=main.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../../../src/main.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC;AACxB,OAAO,4BAA4B,CAAC"}
1
+ {"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../../../src/main.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC;AACxB,cAAc,qBAAqB,CAAC;AACpC,OAAO,4BAA4B,CAAC"}
package/dist/main.js CHANGED
@@ -1,74 +1,75 @@
1
- import { UnstyledButton as e } from "./components/UnstyledButton/UnstyledButton.js";
2
- import { Accordion as t } from "./components/Accordion/Accordion.js";
3
- import { Avatar as n } from "./components/Avatar/Avatar.js";
4
- import { Portal as r } from "./components/Portal/Portal.js";
5
- import { Transition as i } from "./components/Transition/Transition.js";
6
- import { Backdrop as a } from "./components/Backdrop/Backdrop.js";
7
- import { AlifProvider as o } from "./providers/AlifProvider/AlifProvider.js";
8
- import { useMode as s } from "./providers/hooks/useMode/useMode.js";
9
- import { useLocale as c } from "./providers/hooks/useLocale/useLocale.js";
10
- import { localization as l } from "./providers/Localization/localization.js";
11
- import { useTranslation as u } from "./providers/Localization/useTranslation/useTranslation.js";
12
- import { Badge as d } from "./components/Badge/Badge.js";
13
- import { Breadcrumbs as f } from "./components/Breadcrumbs/Breadcrumbs.js";
14
- import { Loader as p } from "./components/Loader/Loader.js";
15
- import { Button as m } from "./components/Button/Button.js";
16
- import { Collapse as h } from "./components/Collapse/Collapse.js";
17
- import { Checkbox as g } from "./components/Checkbox/Checkbox.js";
18
- import { Divider as _ } from "./components/Divider/Divider.js";
19
- import { useOutsideClick as v } from "./hooks/useOutsideClick/useOutsideClick.js";
20
- import { useMediaQuery as y } from "./hooks/useMediaQuery/useMediaQuery.js";
21
- import { useFloatingPosition as b } from "./components/Popover/useFloatingPosition/useFloatingPosition.js";
22
- import { Popover as x } from "./components/Popover/Popover.js";
23
- import { Menu as S } from "./components/Menu/Menu.js";
24
- import { Typography as C } from "./components/Typography/Typography.js";
25
- import { Hinter as w } from "./components/Hinter/Hinter.js";
26
- import { Field as T } from "./components/Field/Field.js";
27
- import { Input as E } from "./components/Input/Input.js";
28
- import { Indicator as D } from "./components/Indicator/Indicator.js";
29
- import { ListItem as O } from "./components/List/ListItem/ListItem.js";
30
- import { ListGroup as k } from "./components/List/ListGroup/ListGroup.js";
31
- import { Skeleton as A } from "./components/Skeleton/Skeleton.js";
32
- import { List as j } from "./components/List/List.js";
33
- import { Select as M } from "./components/Select/Select.js";
34
- import { SelectMultiple as N } from "./components/Select/SelectMultiple/SelectMultiple.js";
35
- import { Tooltip as P } from "./components/Tooltip/Tooltip.js";
36
- import { Pagination as F } from "./components/Pagination/Pagination.js";
37
- import { InputOtp as I } from "./components/InputOtp/InputOtp.js";
38
- import { SelectorInput as L } from "./components/SelectorInput/SelectorInput.js";
39
- import { YearPicker as R } from "./components/Dates/InputYearPicker/YearPicker/YearPicker.js";
40
- import { InputYearPicker as z } from "./components/Dates/InputYearPicker/InputYearPicker.js";
41
- import { MonthPicker as B } from "./components/Dates/InputMonthPicker/MonthPicker/MonthPicker.js";
42
- import { InputMonthPicker as V } from "./components/Dates/InputMonthPicker/InputMonthPicker.js";
43
- import { MonthYearPicker as H } from "./components/Dates/InputMonthYearPicker/MonthYearPicker/MonthYearPicker.js";
44
- import { InputMonthYearPicker as U } from "./components/Dates/InputMonthYearPicker/InputMonthYearPicker.js";
45
- import { TimePicker as W } from "./components/Dates/InputTimePicker/TimePicker/TimePicker.js";
46
- import { InputTimePicker as G } from "./components/Dates/InputTimePicker/InputTimePicker.js";
47
- import { DatePicker as K } from "./components/Dates/InputDatePicker/DatePicker/DatePicker.js";
48
- import { InputDatePicker as q } from "./components/Dates/InputDatePicker/InputDatePicker.js";
49
- import { Switch as J } from "./components/Switch/Switch.js";
50
- import { RadioGroup as Y } from "./components/Radio/RadioGroup/RadioGroup.js";
51
- import { Radio as X } from "./components/Radio/Radio.js";
52
- import { Modal as Z } from "./components/Modal/Modal.js";
53
- import { Textarea as Q } from "./components/Textarea/Textarea.js";
54
- import { Sidebar as $ } from "./components/Sidebar/Sidebar.js";
55
- import { Alert as ee } from "./components/Alert/Alert.js";
56
- import { Tab as te } from "./components/Tab/Tab.js";
57
- import { Drawer as ne } from "./components/Drawer/Drawer.js";
58
- import { SegmentedControl as re } from "./components/SegmentedControl/SegmentedControl.js";
59
- import { Table as ie } from "./components/Table/Table.js";
60
- import { Tabs as ae } from "./components/Tabs/Tabs.js";
61
- import { Paper as oe } from "./components/Paper/Paper.js";
62
- import { snackbar as se } from "./components/Snackbar/Snackbar.utils.js";
63
- import { Snackbar as ce } from "./components/Snackbar/Snackbar.js";
64
- import { AppLayout as le } from "./components/AppLayout/AppLayout.js";
65
- import { Navbar as ue } from "./components/Navbar/Navbar.js";
66
- import { Slider as de } from "./components/Slider/Slider/Slider.js";
67
- import { RangeSlider as fe } from "./components/Slider/RangeSlider/RangeSlider.js";
68
- import { Timeline as pe } from "./components/Timeline/Timeline.js";
69
- import { FileUploader as me } from "./components/FileUploader/FileUploader.js";
70
- import { FileView as he } from "./components/FileView/FileView.js";
71
- import { Rating as ge } from "./components/Rating/Rating.js";
72
- import { ProgressBar as _e } from "./components/ProgressBar/ProgressBar.js";
1
+ import { classNames as e } from "./utils/class-names.js";
2
+ import { UnstyledButton as t } from "./components/UnstyledButton/UnstyledButton.js";
3
+ import { Accordion as n } from "./components/Accordion/Accordion.js";
4
+ import { Avatar as r } from "./components/Avatar/Avatar.js";
5
+ import { Portal as i } from "./components/Portal/Portal.js";
6
+ import { Transition as a } from "./components/Transition/Transition.js";
7
+ import { Backdrop as o } from "./components/Backdrop/Backdrop.js";
8
+ import { AlifProvider as s } from "./providers/AlifProvider/AlifProvider.js";
9
+ import { useMode as c } from "./providers/hooks/useMode/useMode.js";
10
+ import { useLocale as l } from "./providers/hooks/useLocale/useLocale.js";
11
+ import { localization as u } from "./providers/Localization/localization.js";
12
+ import { useTranslation as d } from "./providers/Localization/useTranslation/useTranslation.js";
13
+ import { Badge as f } from "./components/Badge/Badge.js";
14
+ import { Breadcrumbs as p } from "./components/Breadcrumbs/Breadcrumbs.js";
15
+ import { Loader as m } from "./components/Loader/Loader.js";
16
+ import { Button as h } from "./components/Button/Button.js";
17
+ import { Collapse as g } from "./components/Collapse/Collapse.js";
18
+ import { Checkbox as _ } from "./components/Checkbox/Checkbox.js";
19
+ import { Divider as v } from "./components/Divider/Divider.js";
20
+ import { useOutsideClick as y } from "./hooks/useOutsideClick/useOutsideClick.js";
21
+ import { useMediaQuery as b } from "./hooks/useMediaQuery/useMediaQuery.js";
22
+ import { useFloatingPosition as x } from "./components/Popover/useFloatingPosition/useFloatingPosition.js";
23
+ import { Popover as S } from "./components/Popover/Popover.js";
24
+ import { Menu as C } from "./components/Menu/Menu.js";
25
+ import { Typography as w } from "./components/Typography/Typography.js";
26
+ import { Hinter as T } from "./components/Hinter/Hinter.js";
27
+ import { Field as E } from "./components/Field/Field.js";
28
+ import { Input as D } from "./components/Input/Input.js";
29
+ import { Indicator as O } from "./components/Indicator/Indicator.js";
30
+ import { ListItem as k } from "./components/List/ListItem/ListItem.js";
31
+ import { ListGroup as A } from "./components/List/ListGroup/ListGroup.js";
32
+ import { Skeleton as j } from "./components/Skeleton/Skeleton.js";
33
+ import { List as M } from "./components/List/List.js";
34
+ import { Select as N } from "./components/Select/Select.js";
35
+ import { SelectMultiple as P } from "./components/Select/SelectMultiple/SelectMultiple.js";
36
+ import { Tooltip as F } from "./components/Tooltip/Tooltip.js";
37
+ import { Pagination as I } from "./components/Pagination/Pagination.js";
38
+ import { InputOtp as L } from "./components/InputOtp/InputOtp.js";
39
+ import { SelectorInput as R } from "./components/SelectorInput/SelectorInput.js";
40
+ import { YearPicker as z } from "./components/Dates/InputYearPicker/YearPicker/YearPicker.js";
41
+ import { InputYearPicker as B } from "./components/Dates/InputYearPicker/InputYearPicker.js";
42
+ import { MonthPicker as V } from "./components/Dates/InputMonthPicker/MonthPicker/MonthPicker.js";
43
+ import { InputMonthPicker as H } from "./components/Dates/InputMonthPicker/InputMonthPicker.js";
44
+ import { MonthYearPicker as U } from "./components/Dates/InputMonthYearPicker/MonthYearPicker/MonthYearPicker.js";
45
+ import { InputMonthYearPicker as W } from "./components/Dates/InputMonthYearPicker/InputMonthYearPicker.js";
46
+ import { TimePicker as G } from "./components/Dates/InputTimePicker/TimePicker/TimePicker.js";
47
+ import { InputTimePicker as K } from "./components/Dates/InputTimePicker/InputTimePicker.js";
48
+ import { DatePicker as q } from "./components/Dates/InputDatePicker/DatePicker/DatePicker.js";
49
+ import { InputDatePicker as J } from "./components/Dates/InputDatePicker/InputDatePicker.js";
50
+ import { Switch as Y } from "./components/Switch/Switch.js";
51
+ import { RadioGroup as X } from "./components/Radio/RadioGroup/RadioGroup.js";
52
+ import { Radio as Z } from "./components/Radio/Radio.js";
53
+ import { Modal as Q } from "./components/Modal/Modal.js";
54
+ import { Textarea as $ } from "./components/Textarea/Textarea.js";
55
+ import { Sidebar as ee } from "./components/Sidebar/Sidebar.js";
56
+ import { Alert as te } from "./components/Alert/Alert.js";
57
+ import { Tab as ne } from "./components/Tab/Tab.js";
58
+ import { Drawer as re } from "./components/Drawer/Drawer.js";
59
+ import { SegmentedControl as ie } from "./components/SegmentedControl/SegmentedControl.js";
60
+ import { Table as ae } from "./components/Table/Table.js";
61
+ import { Tabs as oe } from "./components/Tabs/Tabs.js";
62
+ import { Paper as se } from "./components/Paper/Paper.js";
63
+ import { snackbar as ce } from "./components/Snackbar/Snackbar.utils.js";
64
+ import { Snackbar as le } from "./components/Snackbar/Snackbar.js";
65
+ import { AppLayout as ue } from "./components/AppLayout/AppLayout.js";
66
+ import { Navbar as de } from "./components/Navbar/Navbar.js";
67
+ import { Slider as fe } from "./components/Slider/Slider/Slider.js";
68
+ import { RangeSlider as pe } from "./components/Slider/RangeSlider/RangeSlider.js";
69
+ import { Timeline as me } from "./components/Timeline/Timeline.js";
70
+ import { FileUploader as he } from "./components/FileUploader/FileUploader.js";
71
+ import { FileView as ge } from "./components/FileView/FileView.js";
72
+ import { Rating as _e } from "./components/Rating/Rating.js";
73
+ import { ProgressBar as ve } from "./components/ProgressBar/ProgressBar.js";
73
74
  /* empty css */
74
- export { t as Accordion, ee as Alert, o as AlifProvider, le as AppLayout, n as Avatar, a as Backdrop, d as Badge, f as Breadcrumbs, m as Button, g as Checkbox, h as Collapse, K as DatePicker, _ as Divider, ne as Drawer, T as Field, me as FileUploader, he as FileView, w as Hinter, D as Indicator, E as Input, q as InputDatePicker, V as InputMonthPicker, U as InputMonthYearPicker, I as InputOtp, G as InputTimePicker, z as InputYearPicker, j as List, k as ListGroup, O as ListItem, p as Loader, S as Menu, Z as Modal, B as MonthPicker, H as MonthYearPicker, ue as Navbar, F as Pagination, oe as Paper, x as Popover, r as Portal, _e as ProgressBar, X as Radio, Y as RadioGroup, fe as RangeSlider, ge as Rating, re as SegmentedControl, M as Select, N as SelectMultiple, L as SelectorInput, $ as Sidebar, A as Skeleton, de as Slider, ce as Snackbar, J as Switch, te as Tab, ie as Table, ae as Tabs, Q as Textarea, W as TimePicker, pe as Timeline, P as Tooltip, i as Transition, C as Typography, e as UnstyledButton, R as YearPicker, l as localization, se as snackbar, b as useFloatingPosition, c as useLocale, y as useMediaQuery, s as useMode, v as useOutsideClick, u as useTranslation };
75
+ export { n as Accordion, te as Alert, s as AlifProvider, ue as AppLayout, r as Avatar, o as Backdrop, f as Badge, p as Breadcrumbs, h as Button, _ as Checkbox, g as Collapse, q as DatePicker, v as Divider, re as Drawer, E as Field, he as FileUploader, ge as FileView, T as Hinter, O as Indicator, D as Input, J as InputDatePicker, H as InputMonthPicker, W as InputMonthYearPicker, L as InputOtp, K as InputTimePicker, B as InputYearPicker, M as List, A as ListGroup, k as ListItem, m as Loader, C as Menu, Q as Modal, V as MonthPicker, U as MonthYearPicker, de as Navbar, I as Pagination, se as Paper, S as Popover, i as Portal, ve as ProgressBar, Z as Radio, X as RadioGroup, pe as RangeSlider, _e as Rating, ie as SegmentedControl, N as Select, P as SelectMultiple, R as SelectorInput, ee as Sidebar, j as Skeleton, fe as Slider, le as Snackbar, Y as Switch, ne as Tab, ae as Table, oe as Tabs, $ as Textarea, G as TimePicker, me as Timeline, F as Tooltip, a as Transition, w as Typography, t as UnstyledButton, z as YearPicker, e as classNames, u as localization, ce as snackbar, x as useFloatingPosition, l as useLocale, b as useMediaQuery, c as useMode, y as useOutsideClick, d as useTranslation };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@alif-ui-test/core",
3
3
  "description": "Alif UI core components, providers, hooks, and utilities",
4
- "version": "2.0.0-alpha.6",
4
+ "version": "2.0.0-alpha.7",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist"
@@ -22,7 +22,7 @@
22
22
  "**/*.css"
23
23
  ],
24
24
  "dependencies": {
25
- "@alif-ui-test/icons": "2.0.0-alpha.6"
25
+ "@alif-ui-test/icons": "2.0.0-alpha.7"
26
26
  },
27
27
  "peerDependencies": {
28
28
  "react": ">=18",
@@ -1,9 +0,0 @@
1
- import { SVGProps } from 'react';
2
-
3
- export interface IconProps extends SVGProps<SVGSVGElement> {
4
- className?: string;
5
- width?: string;
6
- height?: string;
7
- fill?: string;
8
- }
9
- //# sourceMappingURL=icon.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"icon.d.ts","sourceRoot":"","sources":["../../../../src/types/icon.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEjC,MAAM,WAAW,SAAU,SAAQ,QAAQ,CAAC,aAAa,CAAC;IACzD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;CACd"}
@@ -1,2 +0,0 @@
1
- export * from './icon';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC"}