@amboss/design-system 3.1.4 → 3.2.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/build/cjs/components/BulkActionsToolbar/BulkActionsToolbar.d.ts +2 -1
- package/build/cjs/components/BulkActionsToolbar/BulkActionsToolbar.js +1 -1
- package/build/cjs/components/Column/Columns.d.ts +2 -0
- package/build/cjs/components/Column/Columns.js +1 -1
- package/build/cjs/components/Form/PasswordInput/PasswordInput.js +1 -1
- package/build/cjs/components/Grid/Grid.d.ts +36 -0
- package/build/cjs/components/Grid/Grid.js +1 -0
- package/build/cjs/components/Grid/GridItem.d.ts +32 -0
- package/build/cjs/components/Grid/GridItem.js +1 -0
- package/build/cjs/components/Sheet/Sheet.d.ts +2 -1
- package/build/cjs/components/Sheet/Sheet.js +1 -1
- package/build/cjs/components/Toggletip/BasePopover.d.ts +6 -1
- package/build/cjs/components/Toggletip/BasePopover.js +1 -1
- package/build/cjs/index.d.ts +1 -0
- package/build/cjs/index.js +1 -1
- package/build/cjs/shared/mediaQueries.d.ts +2 -2
- package/build/cjs/shared/mediaQueries.js +1 -1
- package/build/cjs/web-tokens/assets/icons16.json +1 -1
- package/build/esm/components/BulkActionsToolbar/BulkActionsToolbar.d.ts +2 -1
- package/build/esm/components/BulkActionsToolbar/BulkActionsToolbar.js +1 -1
- package/build/esm/components/Column/Columns.d.ts +2 -0
- package/build/esm/components/Column/Columns.js +1 -1
- package/build/esm/components/Form/PasswordInput/PasswordInput.js +1 -1
- package/build/esm/components/Grid/Grid.d.ts +36 -0
- package/build/esm/components/Grid/Grid.js +1 -0
- package/build/esm/components/Grid/GridItem.d.ts +32 -0
- package/build/esm/components/Grid/GridItem.js +1 -0
- package/build/esm/components/Sheet/Sheet.d.ts +2 -1
- package/build/esm/components/Sheet/Sheet.js +1 -1
- package/build/esm/components/Toggletip/BasePopover.d.ts +6 -1
- package/build/esm/components/Toggletip/BasePopover.js +1 -1
- package/build/esm/index.d.ts +1 -0
- package/build/esm/index.js +1 -1
- package/build/esm/shared/mediaQueries.d.ts +2 -2
- package/build/esm/shared/mediaQueries.js +1 -1
- package/build/esm/web-tokens/assets/icons16.json +1 -1
- package/package.json +1 -1
- package/build/cjs/components/Toolbar/Toolbar.d.ts +0 -7
- package/build/cjs/components/Toolbar/Toolbar.js +0 -1
- package/build/cjs/components/Toolbar/ToolbarGroup.d.ts +0 -5
- package/build/cjs/components/Toolbar/ToolbarGroup.js +0 -1
- package/build/cjs/components/Toolbar/index.d.ts +0 -4
- package/build/cjs/components/Toolbar/index.js +0 -1
- package/build/esm/components/Toolbar/Toolbar.d.ts +0 -7
- package/build/esm/components/Toolbar/Toolbar.js +0 -1
- package/build/esm/components/Toolbar/ToolbarGroup.d.ts +0 -5
- package/build/esm/components/Toolbar/ToolbarGroup.js +0 -1
- package/build/esm/components/Toolbar/index.d.ts +0 -4
- package/build/esm/components/Toolbar/index.js +0 -1
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"arrow-left": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"none\" viewBox=\"0 0 16 16\">\n <g stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\">\n <path stroke-linejoin=\"bevel\" d=\"M4 8h10\" />\n <path stroke-linejoin=\"round\" d=\"M6 12L2 8l4-4\" />\n </g>\n</svg>",
|
|
13
13
|
"arrow-right": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"none\" viewBox=\"0 0 16 16\">\n <g stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\">\n <path stroke-linejoin=\"bevel\" d=\"M2 8h10\" />\n <path stroke-linejoin=\"round\" d=\"M10 4l4 4-4 4\" />\n </g>\n</svg>",
|
|
14
14
|
"arrow-up": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"feather feather-arrow-up\"><line x1=\"12\" y1=\"19\" x2=\"12\" y2=\"5\"></line><polyline points=\"5 12 12 5 19 12\"></polyline></svg>",
|
|
15
|
-
"article": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"none\" viewBox=\"0 0 16 16\">\n <
|
|
15
|
+
"article": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"none\" viewBox=\"0 0 16 16\">\n <path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M3 2h10v12H3V2ZM1 2a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V2Zm10 4H5V4h6v2ZM5 9h4V7H5v2Zm0 3h5v-2H5v2Z\" clip-rule=\"evenodd\"/>\n</svg>",
|
|
16
16
|
"auditor": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"none\" viewBox=\"0 0 16 16\">\n <circle cx=\"4\" cy=\"5\" r=\"3\" stroke=\"currentColor\" stroke-width=\"2\" />\n <circle cx=\"12\" cy=\"5\" r=\"3\" stroke=\"currentColor\" stroke-width=\"2\" />\n <g fill=\"currentColor\">\n <path\n d=\"M7 6h2V4H7zM14.807 10.79A.667.667 0 0116 11.2c0 2.205-1.953 4.067-4.267 4.067-1.562 0-2.957-.758-3.734-1.943-.78 1.188-2.172 1.943-3.732 1.943C1.954 15.267 0 13.405 0 11.2a.667.667 0 011.193-.41c.19.244.719.81 1.54.81.688 0 1.337-.343 1.615-.853.424-.742 1.2-1.214 1.985-1.214A2.32 2.32 0 018 10.25a2.322 2.322 0 011.667-.716c.785 0 1.562.472 1.978 1.204.286.52.935.863 1.622.863.822 0 1.351-.566 1.54-.81z\" />\n </g>\n</svg>",
|
|
17
17
|
"bar-chart-2": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"none\" viewBox=\"0 0 16 16\">\n <path fill=\"currentColor\"\n d=\"M5 10a1 1 0 00-2 0zm4-7a1 1 0 00-2 0zm4 4a1 1 0 10-2 0zm-8 7v-4H3v4zm4 0V3H7v11zm4 0V7h-2v7z\" />\n</svg>",
|
|
18
18
|
"bell": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"none\" viewBox=\"0 0 16 16\">\n <g stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\">\n <path\n d=\"M12 5.6c0-.955-.421-1.87-1.172-2.546C10.078 2.38 9.061 2 8 2s-2.078.38-2.828 1.054C4.422 3.73 4 4.645 4 5.6 4 9.8 2 11 2 11h12s-2-1.2-2-5.4zM9.153 14a1.333 1.333 0 01-2.306 0\" />\n </g>\n</svg>",
|
package/package.json
CHANGED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { type ColumnsProps } from "../Column/Columns";
|
|
3
|
-
export type ToolbarProps = {
|
|
4
|
-
children: ColumnsProps["children"];
|
|
5
|
-
"data-e2e-test-id"?: string;
|
|
6
|
-
};
|
|
7
|
-
export declare function Toolbar({ children, "data-e2e-test-id": dataE2eTestId, }: ToolbarProps): React.ReactElement;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"Toolbar",{enumerable:!0,get:function(){return Toolbar}});const _react=/*#__PURE__*/require("@swc/helpers/_/_interop_require_default")._(require("react")),_Columns=require("../Column/Columns"),_Box=require("../Box/Box");function Toolbar({children,"data-e2e-test-id":dataE2eTestId}){return /*#__PURE__*/_react.default.createElement(_Box.Box,{space:"xs",lSpace:["xs","m"],"data-e2e-test-id":dataE2eTestId,"data-ds-id":"Toolbar"},/*#__PURE__*/_react.default.createElement(_Columns.Columns,{vAlignItems:"center",gap:["xs","m"],alignItems:"spaceBetween"},children))}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { type ColumnProps } from "../Column/Columns";
|
|
3
|
-
import { type InlineProps } from "../Inline/Inline";
|
|
4
|
-
export type ToolbarGroupProps = Partial<ColumnProps> & Pick<InlineProps, "children">;
|
|
5
|
-
export declare function ToolbarGroup({ children, size, ...restColumnProps }: ToolbarGroupProps): React.ReactElement;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"ToolbarGroup",{enumerable:!0,get:function(){return ToolbarGroup}});const _react=/*#__PURE__*/require("@swc/helpers/_/_interop_require_default")._(require("react")),_Columns=require("../Column/Columns"),_Inline=require("../Inline/Inline");function ToolbarGroup({children,size=[12,6],...restColumnProps}){return /*#__PURE__*/_react.default.createElement(_Columns.Column,{...restColumnProps,size:size},_react.default.Children.count(children)>1?/*#__PURE__*/_react.default.createElement(_Inline.Inline,{vAlignItems:"center",alignItems:["spaceBetween","left"],noWrap:!0},children):children)}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),function(target,all){for(var name in all)Object.defineProperty(target,name,{enumerable:!0,get:all[name]})}(exports,{Toolbar:function(){return _Toolbar.Toolbar},ToolbarGroup:function(){return _ToolbarGroup.ToolbarGroup}});const _Toolbar=require("./Toolbar"),_ToolbarGroup=require("./ToolbarGroup");
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { type ColumnsProps } from "../Column/Columns";
|
|
3
|
-
export type ToolbarProps = {
|
|
4
|
-
children: ColumnsProps["children"];
|
|
5
|
-
"data-e2e-test-id"?: string;
|
|
6
|
-
};
|
|
7
|
-
export declare function Toolbar({ children, "data-e2e-test-id": dataE2eTestId, }: ToolbarProps): React.ReactElement;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import React from"react";import{Columns}from"../Column/Columns";import{Box}from"../Box/Box";export function Toolbar({children,"data-e2e-test-id":dataE2eTestId}){return /*#__PURE__*/React.createElement(Box,{space:"xs",lSpace:["xs","m"],"data-e2e-test-id":dataE2eTestId,"data-ds-id":"Toolbar"},/*#__PURE__*/React.createElement(Columns,{vAlignItems:"center",gap:["xs","m"],alignItems:"spaceBetween"},children))}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { type ColumnProps } from "../Column/Columns";
|
|
3
|
-
import { type InlineProps } from "../Inline/Inline";
|
|
4
|
-
export type ToolbarGroupProps = Partial<ColumnProps> & Pick<InlineProps, "children">;
|
|
5
|
-
export declare function ToolbarGroup({ children, size, ...restColumnProps }: ToolbarGroupProps): React.ReactElement;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import React from"react";import{Column}from"../Column/Columns";import{Inline}from"../Inline/Inline";export function ToolbarGroup({children,size=[12,6],...restColumnProps}){return /*#__PURE__*/React.createElement(Column,{...restColumnProps,size:size},React.Children.count(children)>1?/*#__PURE__*/React.createElement(Inline,{vAlignItems:"center",alignItems:["spaceBetween","left"],noWrap:!0},children):children)}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{Toolbar}from"./Toolbar";export{ToolbarGroup}from"./ToolbarGroup";
|