@aircall/ds 0.43.0 → 0.43.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/index.d.ts
CHANGED
|
@@ -1863,8 +1863,11 @@ declare namespace ColorPicker {
|
|
|
1863
1863
|
* Trigger that opens the `ColorPicker`. Renders a Base UI `PopoverTrigger` as a
|
|
1864
1864
|
* `<button>` - by default a 32px outline icon `Button` showing the current colour
|
|
1865
1865
|
* as a rounded swatch. Override the element via `render` and the inner content via
|
|
1866
|
-
* `children`. Forwards `className`, `aria-invalid` and `disabled`, so it can join
|
|
1867
|
-
* `
|
|
1866
|
+
* `children`. Forwards `className`, `aria-invalid` and `disabled`, so it can join an
|
|
1867
|
+
* `InputGroup` and share an error border with a neighbouring `InputGroupInput` -
|
|
1868
|
+
* the recommended composition for a colour trigger beside a text field, since the
|
|
1869
|
+
* input stretches to fill the remaining width and the group's 40px shell already
|
|
1870
|
+
* matches this trigger's default height.
|
|
1868
1871
|
*
|
|
1869
1872
|
* @example
|
|
1870
1873
|
* ```tsx
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as Button, D as _objectWithoutProperties, E as _objectSpread2, O as cn, S as registerI18nNamespace, T as linkStyle, _ as ActionBarHeight, a as TableFooter, b as detectInitialLanguage, c as TableRow, d as Checkbox, f as Spinner, g as ActionBarContext, h as ActionBarButton, i as TableCell, l as useFetchMoreSentinel, m as ActionBar, n as Table, o as TableHead, p as spinnerVariants, r as TableBody, s as TableHeader, t as DataTable, u as Skeleton, v as useDsTranslation, w as buttonVariants, x as dsI18n, y as SUPPORTED_LANGUAGES } from "./data-table-
|
|
1
|
+
import { C as Button, D as _objectWithoutProperties, E as _objectSpread2, O as cn, S as registerI18nNamespace, T as linkStyle, _ as ActionBarHeight, a as TableFooter, b as detectInitialLanguage, c as TableRow, d as Checkbox, f as Spinner, g as ActionBarContext, h as ActionBarButton, i as TableCell, l as useFetchMoreSentinel, m as ActionBar, n as Table, o as TableHead, p as spinnerVariants, r as TableBody, s as TableHeader, t as DataTable, u as Skeleton, v as useDsTranslation, w as buttonVariants, x as dsI18n, y as SUPPORTED_LANGUAGES } from "./data-table-sGfJhRvB.js";
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
import { createContext, useContext, useSyncExternalStore } from "react";
|
|
4
4
|
import { Accordion as Accordion$1 } from "@base-ui/react/accordion";
|
|
@@ -3830,8 +3830,11 @@ function ColorPicker(componentProps) {
|
|
|
3830
3830
|
* Trigger that opens the `ColorPicker`. Renders a Base UI `PopoverTrigger` as a
|
|
3831
3831
|
* `<button>` - by default a 32px outline icon `Button` showing the current colour
|
|
3832
3832
|
* as a rounded swatch. Override the element via `render` and the inner content via
|
|
3833
|
-
* `children`. Forwards `className`, `aria-invalid` and `disabled`, so it can join
|
|
3834
|
-
* `
|
|
3833
|
+
* `children`. Forwards `className`, `aria-invalid` and `disabled`, so it can join an
|
|
3834
|
+
* `InputGroup` and share an error border with a neighbouring `InputGroupInput` -
|
|
3835
|
+
* the recommended composition for a colour trigger beside a text field, since the
|
|
3836
|
+
* input stretches to fill the remaining width and the group's 40px shell already
|
|
3837
|
+
* matches this trigger's default height.
|
|
3835
3838
|
*
|
|
3836
3839
|
* @example
|
|
3837
3840
|
* ```tsx
|