@mittwald/flow-react-components 0.1.0-alpha.394 → 0.1.0-alpha.396

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.
@@ -9,3 +9,4 @@ export declare const Info: Story;
9
9
  export declare const WithSecondaryAction: Story;
10
10
  export declare const WithExtraSecondaryAction: Story;
11
11
  export declare const Mobile: Story;
12
+ export declare const WithSwitch: Story;
@@ -0,0 +1,4 @@
1
+ import { ComponentProps, FC } from 'react';
2
+ import { Icon } from '../..';
3
+ export declare const IconCertificate: FC<Omit<ComponentProps<typeof Icon>, "children">>;
4
+ export default IconCertificate;
@@ -0,0 +1,4 @@
1
+ import { ComponentProps, FC } from 'react';
2
+ import { Icon } from '../..';
3
+ export declare const IconDirectory: FC<Omit<ComponentProps<typeof Icon>, "children">>;
4
+ export default IconDirectory;
@@ -0,0 +1,4 @@
1
+ import { ComponentProps, FC } from 'react';
2
+ import { Icon } from '../..';
3
+ export declare const IconMove: FC<Omit<ComponentProps<typeof Icon>, "children">>;
4
+ export default IconMove;
@@ -0,0 +1,4 @@
1
+ import { ComponentProps, FC } from 'react';
2
+ import { Icon } from '../..';
3
+ export declare const IconSparkles: FC<Omit<ComponentProps<typeof Icon>, "children">>;
4
+ export default IconSparkles;
@@ -0,0 +1,4 @@
1
+ import { ComponentProps, FC } from 'react';
2
+ import { Icon } from '../..';
3
+ export declare const IconVhost: FC<Omit<ComponentProps<typeof Icon>, "children">>;
4
+ export default IconVhost;
@@ -4,6 +4,7 @@ export { IconBackLink } from './IconBackLink';
4
4
  export { IconBackup } from './IconBackup';
5
5
  export { IconCamera } from './IconCamera';
6
6
  export { IconChangelog } from './IconChangelog';
7
+ export { IconCertificate } from './IconCertificate';
7
8
  export { IconCheck } from './IconCheck';
8
9
  export { IconCheckboxChecked } from './IconCheckboxChecked';
9
10
  export { IconCheckboxEmpty } from './IconCheckboxEmpty';
@@ -25,6 +26,7 @@ export { IconCustomer } from './IconCustomer';
25
26
  export { IconDanger } from './IconDanger';
26
27
  export { IconDashboard } from './IconDashboard';
27
28
  export { IconDatabase } from './IconDatabase';
29
+ export { IconDirectory } from './IconDirectory';
28
30
  export { IconCalendar } from './IconCalendar';
29
31
  export { IconDelete } from './IconDelete';
30
32
  export { IconDeliveryBox } from './IconDeliveryBox';
@@ -51,6 +53,7 @@ export { IconMaximize } from './IconMaximize';
51
53
  export { IconMember } from './IconMember';
52
54
  export { IconMenu } from './IconMenu';
53
55
  export { IconMinimize } from './IconMinimize';
56
+ export { IconMove } from './IconMove';
54
57
  export { IconMinus } from './IconMinus';
55
58
  export { IconNotification } from './IconNotification';
56
59
  export { IconNumber } from './IconNumber';
@@ -76,6 +79,7 @@ export { IconShow } from './IconShow';
76
79
  export { IconSorting } from './IconSorting';
77
80
  export { IconSpamProtectionOff } from './IconSpamProtectionOff';
78
81
  export { IconSpamProtectionOn } from './IconSpamProtectionOn';
82
+ export { IconSparkles } from './IconSparkles';
79
83
  export { IconSshKey } from './IconSshKey';
80
84
  export { IconSshSftp } from './IconSshSftp';
81
85
  export { IconStar } from './IconStar';
@@ -89,5 +93,6 @@ export { IconTicket } from './IconTicket';
89
93
  export { IconUndo } from './IconUndo';
90
94
  export { IconUser } from './IconUser';
91
95
  export { IconView } from './IconView';
96
+ export { IconVhost } from './IconVhost';
92
97
  export { IconWarning } from './IconWarning';
93
98
  export { IconMittwald } from './IconMittwald';
@@ -9,11 +9,11 @@ export declare class ReactTable<T> {
9
9
  readonly sortingState: ColumnSort[];
10
10
  readonly updateSortingState: Dispatch<SetStateAction<ColumnSort[]>>;
11
11
  private constructor();
12
+ get searchString(): SearchValue;
12
13
  static useNew<T>(list: List<T>, onChange?: OnListChanged<T>, tableOptions?: Partial<TableOptions<T>>): ReactTable<T>;
14
+ getTableColumn(property: PropertyName<T>): Column<T>;
13
15
  private useReactTable;
14
16
  private handleSortingStateUpdate;
15
- get searchString(): SearchValue;
16
- getTableColumn(property: PropertyName<T>): Column<T>;
17
17
  private getTableColumnDefs;
18
18
  }
19
19
  export default ReactTable;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mittwald/flow-react-components",
3
- "version": "0.1.0-alpha.394",
3
+ "version": "0.1.0-alpha.396",
4
4
  "type": "module",
5
5
  "description": "A React implementation of Flow, mittwald’s design system",
6
6
  "homepage": "https://mittwald.github.io/flow",
@@ -425,7 +425,7 @@
425
425
  "@chakra-ui/live-region": "^2.1.0",
426
426
  "@internationalized/date": "^3.6.0",
427
427
  "@internationalized/string-compiler": "^3.2.6",
428
- "@mittwald/react-tunnel": "^0.1.0-alpha.394",
428
+ "@mittwald/react-tunnel": "^0.1.0-alpha.396",
429
429
  "@mittwald/react-use-promise": "^2.6.0",
430
430
  "@react-aria/form": "^3.0.11",
431
431
  "@react-aria/utils": "^3.26.0",
@@ -456,7 +456,7 @@
456
456
  },
457
457
  "devDependencies": {
458
458
  "@faker-js/faker": "^9.2.0",
459
- "@mittwald/flow-design-tokens": "^0.1.0-alpha.394",
459
+ "@mittwald/flow-design-tokens": "^0.1.0-alpha.396",
460
460
  "@mittwald/react-use-promise": "^2.6.0",
461
461
  "@nx/storybook": "^20.1.3",
462
462
  "@storybook/addon-a11y": "^8.4.5",
@@ -551,5 +551,5 @@
551
551
  }
552
552
  }
553
553
  },
554
- "gitHead": "4f7fd927f50675e1eaa0155f761971779627e010"
554
+ "gitHead": "2eb33186923e76f65970b1d5790555df90b753ef"
555
555
  }
@@ -1,48 +0,0 @@
1
- "use client"
2
- /* */
3
- import o from "react";
4
- import "./propsContext-DzAKlmhS.js";
5
- import { PropsContextProvider as w } from "./PropsContextProvider.js";
6
- import "@react-aria/utils";
7
- import "remeda";
8
- import { d as n } from "./dynamic-ClpUSmEt.js";
9
- import e from "clsx";
10
- import { f as C } from "./flowComponent-BQs9wMX_.js";
11
- import { TunnelProvider as G } from "@mittwald/react-tunnel";
12
- import { A as y, g as a } from "./getActionGroupSlot-BHzMGEA7.js";
13
- const x = "flow--action-group", A = "flow--action-group--primary", N = "flow--action-group--secondary", P = "flow--action-group--abort", k = "flow--action-group--action-group-container", v = "flow--action-group--ignore-breakpoint", B = "flow--action-group--s", E = "flow--action-group--m", t = {
14
- actionGroup: x,
15
- primary: A,
16
- secondary: N,
17
- abort: P,
18
- actionGroupContainer: k,
19
- ignoreBreakpoint: v,
20
- s: B,
21
- m: E
22
- }, F = C("ActionGroup", (i) => {
23
- const {
24
- children: c,
25
- className: s,
26
- refProp: p,
27
- ignoreBreakpoint: m,
28
- spacing: l = "s",
29
- ...u
30
- } = i, f = e(
31
- t.actionGroupContainer,
32
- s,
33
- m && t.ignoreBreakpoint,
34
- t[l]
35
- ), g = {
36
- Button: {
37
- slot: n((r) => a(r)),
38
- className: n((r) => {
39
- const d = a(r);
40
- return e(r.className, t[d]);
41
- })
42
- }
43
- };
44
- return /* @__PURE__ */ o.createElement(y, null, /* @__PURE__ */ o.createElement(w, { props: g, mergeInParentContext: !0 }, /* @__PURE__ */ o.createElement(G, null, /* @__PURE__ */ o.createElement("div", { ...u, className: f, ref: p }, /* @__PURE__ */ o.createElement("div", { className: t.actionGroup, role: "group" }, c)))));
45
- });
46
- export {
47
- F as A
48
- };