buildgrid-ui 1.1.0-dev.15 → 1.1.0-dev.18
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/CHANGELOG.md +23 -0
- package/dist/blocks/index.d.ts +1 -0
- package/dist/blocks/month-navigator/index.d.ts +1 -0
- package/dist/blocks/month-navigator/month-navigator.d.ts +9 -0
- package/dist/buildgrid-ui.css +1 -0
- package/dist/buildgrid-ui.es.js +8995 -3622
- package/dist/buildgrid-ui.umd.js +85 -40
- package/dist/components/calendar/calendar.d.ts +9 -0
- package/dist/components/calendar/index.d.ts +1 -0
- package/dist/components/form/form.d.ts +23 -0
- package/dist/components/form/index.d.ts +1 -0
- package/dist/components/index.d.ts +10 -0
- package/dist/components/label/index.d.ts +1 -0
- package/dist/components/label/label.d.ts +5 -0
- package/dist/components/radio-group/index.d.ts +1 -0
- package/dist/components/radio-group/radio-group.d.ts +5 -0
- package/dist/components/select/index.d.ts +1 -0
- package/dist/components/select/select.d.ts +13 -0
- package/dist/components/table/index.d.ts +1 -0
- package/dist/components/table/table.d.ts +10 -0
- package/dist/components/textarea/index.d.ts +1 -0
- package/dist/components/textarea/textarea.d.ts +3 -0
- package/dist/components/toggle/index.d.ts +1 -0
- package/dist/components/toggle/toggle.d.ts +12 -0
- package/dist/components/toggle-group/index.d.ts +1 -0
- package/dist/components/toggle-group/toggle-group.d.ts +12 -0
- package/dist/components/tooltip/index.d.ts +1 -0
- package/dist/components/tooltip/tooltip.d.ts +7 -0
- package/dist/index.d.ts +1 -0
- package/dist/lib/hooks/index.d.ts +5 -0
- package/dist/lib/hooks/use-debounce.d.ts +2 -0
- package/dist/lib/hooks/use-dialog.d.ts +30 -0
- package/dist/lib/hooks/use-media-query.d.ts +1 -0
- package/dist/lib/hooks/use-mobile.d.ts +1 -0
- package/dist/lib/hooks/use-pwa-install.d.ts +7 -0
- package/package.json +19 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,26 @@
|
|
|
1
|
+
# [1.1.0-alpha.7](https://github.com/adrianomaringolo/buildgrid-ui/compare/v1.1.0-alpha.6...v1.1.0-alpha.7) (2025-01-04)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **input:** input width fix to assume full width ([a15cbfb](https://github.com/adrianomaringolo/buildgrid-ui/commit/a15cbfbbe4e18d298a9980799b1252a1ddb03c37))
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **alert-dialog:** add AlertDialog component with stories and update dependencies ([3e23c69](https://github.com/adrianomaringolo/buildgrid-ui/commit/3e23c692638f5f74e53ddd2af2a8fa2f77016176))
|
|
12
|
+
* **currency-input:** add CurrencyInput component with formatting and stories ([99adafa](https://github.com/adrianomaringolo/buildgrid-ui/commit/99adafaf98656aa2efe12d0e4dff8ded35523225))
|
|
13
|
+
* **dialog:** add Dialog component with stories and update package configuration ([da9b5f9](https://github.com/adrianomaringolo/buildgrid-ui/commit/da9b5f91dd02da50b81c9270941e5badafae20e0))
|
|
14
|
+
* **formatters:** add utility functions for currency and date formatting ([2dbc4cc](https://github.com/adrianomaringolo/buildgrid-ui/commit/2dbc4cc36772ed3313d48b4e20557b7e24f932ed))
|
|
15
|
+
* **help-carousel:** add HelpCarousel block component with stories and update exports ([e99c9a4](https://github.com/adrianomaringolo/buildgrid-ui/commit/e99c9a4c1635c47cb222bd48876e15bbf940a15a))
|
|
16
|
+
* **help-carousel:** update button variant to 'ghost' in HelpCarousel component ([0e7765d](https://github.com/adrianomaringolo/buildgrid-ui/commit/0e7765dacbbbacff89a21e0ceced74b006775b83))
|
|
17
|
+
* **pagination-controls:** add PaginationControls block component with stories and update exports ([f2fc558](https://github.com/adrianomaringolo/buildgrid-ui/commit/f2fc5588308e172d2cbe922c64fd4fba34b6e83b))
|
|
18
|
+
* **pagination:** add Pagination component with stories and update exports ([0585af4](https://github.com/adrianomaringolo/buildgrid-ui/commit/0585af4bcf8ad6eee33b4fe842b19ce415bb99c6))
|
|
19
|
+
* **password-input:** add PasswordInput component with strength meter and visibility toggle ([222e3d3](https://github.com/adrianomaringolo/buildgrid-ui/commit/222e3d3610d18cb59d7d7cd9a41bc03c36e7de08))
|
|
20
|
+
* **progress-switch:** add Progress and Switch components with stories ([9c496af](https://github.com/adrianomaringolo/buildgrid-ui/commit/9c496aff19bc42e1831d2ce99f59d08c9d5611c9))
|
|
21
|
+
* **progress:** add Progress component and stories; update exports ([4d849f7](https://github.com/adrianomaringolo/buildgrid-ui/commit/4d849f70baca326e556b4b81f1cd5005870fa292))
|
|
22
|
+
* **tabs:** add Tabs component with stories and update package configuration ([4de034d](https://github.com/adrianomaringolo/buildgrid-ui/commit/4de034dadca5d8830a969a05f9f3fa7fa2cb77e5))
|
|
23
|
+
|
|
1
24
|
# [1.1.0-alpha.6](https://github.com/adrianomaringolo/buildgrid-ui/compare/v1.1.0-alpha.5...v1.1.0-alpha.6) (2025-01-03)
|
|
2
25
|
|
|
3
26
|
|
package/dist/blocks/index.d.ts
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './month-navigator';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Locale } from 'date-fns/locale';
|
|
2
|
+
export type Month = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11;
|
|
3
|
+
export interface MonthNavigatorProps {
|
|
4
|
+
locale?: Locale;
|
|
5
|
+
currentMonth: Month;
|
|
6
|
+
currentYear: number;
|
|
7
|
+
onChangeMonthYear: (month: Month, year: number) => void;
|
|
8
|
+
}
|
|
9
|
+
export declare function MonthNavigatorComponent(props: MonthNavigatorProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.rdp-root{--rdp-accent-color: blue;--rdp-accent-background-color: #f0f0ff;--rdp-day-height: 44px;--rdp-day-width: 44px;--rdp-day_button-border-radius: 100%;--rdp-day_button-border: 2px solid transparent;--rdp-day_button-height: 42px;--rdp-day_button-width: 42px;--rdp-selected-border: 2px solid var(--rdp-accent-color);--rdp-disabled-opacity: .5;--rdp-outside-opacity: .75;--rdp-today-color: var(--rdp-accent-color);--rdp-dropdown-gap: .5rem;--rdp-months-gap: 2rem;--rdp-nav_button-disabled-opacity: .5;--rdp-nav_button-height: 2.25rem;--rdp-nav_button-width: 2.25rem;--rdp-nav-height: 2.75rem;--rdp-range_middle-background-color: var(--rdp-accent-background-color);--rdp-range_middle-color: inherit;--rdp-range_start-color: white;--rdp-range_start-background: linear-gradient(var(--rdp-gradient-direction), transparent 50%, var(--rdp-range_middle-background-color) 50%);--rdp-range_start-date-background-color: var(--rdp-accent-color);--rdp-range_end-background: linear-gradient(var(--rdp-gradient-direction), var(--rdp-range_middle-background-color) 50%, transparent 50%);--rdp-range_end-color: white;--rdp-range_end-date-background-color: var(--rdp-accent-color);--rdp-week_number-border-radius: 100%;--rdp-week_number-border: 2px solid transparent;--rdp-week_number-height: var(--rdp-day-height);--rdp-week_number-opacity: .75;--rdp-week_number-width: var(--rdp-day-width);--rdp-weeknumber-text-align: center;--rdp-weekday-opacity: .75;--rdp-weekday-padding: .5rem 0rem;--rdp-weekday-text-align: center;--rdp-gradient-direction: 90deg}.rdp-root[dir=rtl]{--rdp-gradient-direction: -90deg}.rdp-root[data-broadcast-calendar=true]{--rdp-outside-opacity: unset}.rdp-root{position:relative;box-sizing:border-box}.rdp-root *{box-sizing:border-box}.rdp-day{width:var(--rdp-day-width);height:var(--rdp-day-height);text-align:center}.rdp-day_button{background:none;padding:0;margin:0;cursor:pointer;font:inherit;color:inherit;justify-content:center;align-items:center;display:flex;width:var(--rdp-day_button-width);height:var(--rdp-day_button-height);border:var(--rdp-day_button-border);border-radius:var(--rdp-day_button-border-radius)}.rdp-day_button:disabled{cursor:revert}.rdp-caption_label{z-index:1;position:relative;display:inline-flex;align-items:center;white-space:nowrap;border:0}.rdp-dropdown:focus-visible~.rdp-caption_label{outline:5px auto Highlight;outline:5px auto -webkit-focus-ring-color}.rdp-button_next,.rdp-button_previous{border:none;background:none;padding:0;margin:0;cursor:pointer;font:inherit;color:inherit;-moz-appearance:none;-webkit-appearance:none;display:inline-flex;align-items:center;justify-content:center;position:relative;appearance:none;width:var(--rdp-nav_button-width);height:var(--rdp-nav_button-height)}.rdp-button_next:disabled,.rdp-button_previous:disabled{cursor:revert;opacity:var(--rdp-nav_button-disabled-opacity)}.rdp-chevron{display:inline-block;fill:var(--rdp-accent-color)}.rdp-root[dir=rtl] .rdp-nav .rdp-chevron{transform:rotate(180deg);transform-origin:50%}.rdp-dropdowns{position:relative;display:inline-flex;align-items:center;gap:var(--rdp-dropdown-gap)}.rdp-dropdown{z-index:2;opacity:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;position:absolute;inset-block-start:0;inset-block-end:0;inset-inline-start:0;width:100%;margin:0;padding:0;cursor:inherit;border:none;line-height:inherit}.rdp-dropdown_root{position:relative;display:inline-flex;align-items:center}.rdp-dropdown_root[data-disabled=true] .rdp-chevron{opacity:var(--rdp-disabled-opacity)}.rdp-month_caption{display:flex;align-content:center;height:var(--rdp-nav-height);font-weight:700;font-size:large}.rdp-months{position:relative;display:flex;flex-wrap:wrap;gap:var(--rdp-months-gap);max-width:-moz-fit-content;max-width:fit-content}.rdp-month_grid{border-collapse:collapse}.rdp-nav{position:absolute;inset-block-start:0;inset-inline-end:0;display:flex;align-items:center;height:var(--rdp-nav-height)}.rdp-weekday{opacity:var(--rdp-weekday-opacity);padding:var(--rdp-weekday-padding);font-weight:500;font-size:smaller;text-align:var(--rdp-weekday-text-align);text-transform:var(--rdp-weekday-text-transform)}.rdp-week_number{opacity:var(--rdp-week_number-opacity);font-weight:400;font-size:small;height:var(--rdp-week_number-height);width:var(--rdp-week_number-width);border:var(--rdp-week_number-border);border-radius:var(--rdp-week_number-border-radius);text-align:var(--rdp-weeknumber-text-align)}.rdp-today:not(.rdp-outside){color:var(--rdp-today-color)}.rdp-selected{font-weight:700;font-size:large}.rdp-selected .rdp-day_button{border:var(--rdp-selected-border)}.rdp-outside{opacity:var(--rdp-outside-opacity)}.rdp-disabled{opacity:var(--rdp-disabled-opacity)}.rdp-hidden{visibility:hidden;color:var(--rdp-range_start-color)}.rdp-range_start{background:var(--rdp-range_start-background)}.rdp-range_start .rdp-day_button{background-color:var(--rdp-range_start-date-background-color);color:var(--rdp-range_start-color)}.rdp-range_middle{background-color:var(--rdp-range_middle-background-color)}.rdp-range_middle .rdp-day_button{border-color:transparent;border:unset;border-radius:unset;color:var(--rdp-range_middle-color)}.rdp-range_end{background:var(--rdp-range_end-background);color:var(--rdp-range_end-color)}.rdp-range_end .rdp-day_button{color:var(--rdp-range_start-color);background-color:var(--rdp-range_end-date-background-color)}.rdp-range_start.rdp-range_end{background:revert}.rdp-focusable{cursor:pointer}
|