bord-design-system 0.0.7 → 0.0.8

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.
@@ -13,5 +13,6 @@ import BordMetricCard from './BordMetricCard/BordMetricCard';
13
13
  import { BordTabBar } from './BordTabBar/BordTabBar';
14
14
  import { BordTab } from './BordTab/BordTab';
15
15
  import { BordTabsGroupWithBadge } from './BordTabsGroup/BordTabsGroupWithBadge';
16
- export { BordAvatar, BordFlag, BordOneToneIcon, BordTextInput, BordTwoToneIcon, BordBackButton, BordAttentionButton, BordInfoBanner, BordButton, BordTabs, BordInfoCard, BordMetricCard, BordTabBar, BordTab, BordTabsGroupWithBadge, };
16
+ import BordFloatDropdown from './BordFloatDropdown/BordFloatDropdown';
17
+ export { BordAvatar, BordFlag, BordOneToneIcon, BordTextInput, BordTwoToneIcon, BordBackButton, BordAttentionButton, BordInfoBanner, BordButton, BordTabs, BordInfoCard, BordMetricCard, BordTabBar, BordTab, BordTabsGroupWithBadge, BordFloatDropdown, };
17
18
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,yBAAyB,CAAC;AACjD,OAAO,QAAQ,MAAM,qBAAqB,CAAC;AAC3C,OAAO,eAAe,MAAM,mCAAmC,CAAC;AAChE,OAAO,aAAa,MAAM,+BAA+B,CAAC;AAC1D,OAAO,eAAe,MAAM,mCAAmC,CAAC;AAChE,OAAO,cAAc,MAAM,iCAAiC,CAAC;AAC7D,OAAO,mBAAmB,MAAM,2CAA2C,CAAC;AAC5E,OAAO,cAAc,MAAM,iCAAiC,CAAC;AAC7D,OAAO,UAAU,MAAM,yBAAyB,CAAC;AACjD,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAC/C,OAAO,YAAY,MAAM,6BAA6B,CAAC;AACvD,OAAO,cAAc,MAAM,iCA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U,EACV,QAAQ,EACR,YAAY,EACZ,cAAc,EACd,UAAU,EACV,OAAO,EACP,sBAAsB,EACtB,iBAAiB,GAClB,CAAC"}
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import * as React$1 from 'react';
3
- import { ComponentProps, ReactNode, ReactElement } from 'react';
3
+ import React__default, { ComponentProps, ReactNode, ReactElement, RefObject } from 'react';
4
4
 
5
5
  type TbordAvatarsVariant = 'circularFigma' | 'circularUser' | 'circularWorld' | 'circularZeppelin' | 'circularBordMascot' | 'rectangularFigma' | 'rectangularUser' | 'rectangularWorld' | 'rectangularZeppelin' | 'rectangularBordMascot';
6
6
  interface IBordAvatarProps extends ComponentProps<'svg'> {
@@ -239,6 +239,19 @@ interface IBordFloatDropdownOption {
239
239
  className?: string;
240
240
  customContent?: ReactNode;
241
241
  }
242
+ interface IBordFloatDropdown {
243
+ options: IBordFloatDropdownOption[];
244
+ isOpen: boolean;
245
+ onClose: () => void;
246
+ customClassName?: string;
247
+ position?: {
248
+ top?: number;
249
+ left?: number;
250
+ right?: number;
251
+ bottom?: number;
252
+ };
253
+ anchorRef?: RefObject<HTMLElement>;
254
+ }
242
255
 
243
256
  interface IBordInfoCardItem {
244
257
  title?: string;
@@ -332,4 +345,22 @@ interface IBordTabsGroupProps {
332
345
 
333
346
  declare function BordTabsGroupWithBadge({ value, defaultValue, tabs, textColor, onChange }: IBordTabsGroupProps): react_jsx_runtime.JSX.Element;
334
347
 
335
- export { BordAttentionButton, BordAvatar, BordBackButton, BordButton, BordFlag, BordInfoBanner, BordInfoCard, BordMetricCard, BordOneToneIcon, BordTab, BordTabBar, BordTabs, BordTabsGroupWithBadge, BordTextInput, BordTwoToneIcon };
348
+ /**
349
+ * @description A floating dropdown component that displays a list of options with icons, labels, and messages.
350
+ * The dropdown automatically positions itself below the anchor element on desktop/tablet and above it on mobile.
351
+ * @prop {IBordFloatDropdownOption[]} options - Array of options to display in the dropdown. Each option can have:
352
+ * - iconProps: Optional props object for BordOneToneIcon (variant is required, standardSize defaults to 14, stroke defaults to #070F21)
353
+ * - label: String for the main text
354
+ * - message: Optional string for secondary text below the label
355
+ * - onClick: Function to execute when the option is clicked
356
+ * - customContent: Optional React node for completely custom option rendering
357
+ * @prop {boolean} isOpen - Controls whether the dropdown is visible or not.
358
+ * @prop {() => void} onClose - Callback function to execute when the dropdown should close.
359
+ * @prop {string} [customClassName] - Optional custom class name for styling.
360
+ * @prop {object} [position] - Optional position object with top, left, right, bottom values for fine-tuning the spacing.
361
+ * @prop {React.RefObject<HTMLElement>} [anchorRef] - Reference to the element that triggers the dropdown for positioning.
362
+ * @returns {React.ReactElement | null} A floating dropdown component or null if not open.
363
+ */
364
+ declare const BordFloatDropdown: ({ options, isOpen, onClose, customClassName, position, anchorRef, }: IBordFloatDropdown) => React__default.ReactElement | null;
365
+
366
+ export { BordAttentionButton, BordAvatar, BordBackButton, BordButton, BordFlag, BordFloatDropdown, BordInfoBanner, BordInfoCard, BordMetricCard, BordOneToneIcon, BordTab, BordTabBar, BordTabs, BordTabsGroupWithBadge, BordTextInput, BordTwoToneIcon };
package/dist/index.esm.js CHANGED
@@ -5125,5 +5125,5 @@ function BordTabsGroupWithBadge({ value, defaultValue, tabs = [], textColor, onC
5125
5125
  }) }));
5126
5126
  }
5127
5127
 
5128
- export { BordAttentionButton, BordAvatar, BordBackButton, BordButton, BordFlag, BordInfoBanner, BordInfoCard, BordMetricCard, BordOneToneIcon, BordTab, BordTabBar, BordTabs, BordTabsGroupWithBadge, BordTextInput, BordTwoToneIcon };
5128
+ export { BordAttentionButton, BordAvatar, BordBackButton, BordButton, BordFlag, BordFloatDropdown, BordInfoBanner, BordInfoCard, BordMetricCard, BordOneToneIcon, BordTab, BordTabBar, BordTabs, BordTabsGroupWithBadge, BordTextInput, BordTwoToneIcon };
5129
5129
  //# sourceMappingURL=index.esm.js.map
package/dist/index.js CHANGED
@@ -5136,6 +5136,7 @@ exports.BordAvatar = BordAvatar;
5136
5136
  exports.BordBackButton = BordBackButton;
5137
5137
  exports.BordButton = BordButton;
5138
5138
  exports.BordFlag = BordFlag;
5139
+ exports.BordFloatDropdown = BordFloatDropdown;
5139
5140
  exports.BordInfoBanner = BordInfoBanner;
5140
5141
  exports.BordInfoCard = BordInfoCard;
5141
5142
  exports.BordMetricCard = BordMetricCard;
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../node_modules/style-inject/dist/style-inject.es.js"],"sourcesContent":["function styleInject(css, ref) {\n if ( ref === void 0 ) ref = {};\n var insertAt = ref.insertAt;\n\n if (!css || typeof document === 'undefined') { return; }\n\n var head = document.head || document.getElementsByTagName('head')[0];\n var style = document.createElement('style');\n style.type = 'text/css';\n\n if (insertAt === 'top') {\n if (head.firstChild) {\n head.insertBefore(style, head.firstChild);\n } else {\n head.appendChild(style);\n }\n } else {\n head.appendChild(style);\n }\n\n if (style.styleSheet) {\n style.styleSheet.cssText = css;\n } else {\n style.appendChild(document.createTextNode(css));\n }\n}\n\nexport default styleInject;\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.js","sources":["../node_modules/style-inject/dist/style-inject.es.js"],"sourcesContent":["function styleInject(css, ref) {\n if ( ref === void 0 ) ref = {};\n var insertAt = ref.insertAt;\n\n if (!css || typeof document === 'undefined') { return; }\n\n var head = document.head || document.getElementsByTagName('head')[0];\n var style = document.createElement('style');\n style.type = 'text/css';\n\n if (insertAt === 'top') {\n if (head.firstChild) {\n head.insertBefore(style, head.firstChild);\n } else {\n head.appendChild(style);\n }\n } else {\n head.appendChild(style);\n }\n\n if (style.styleSheet) {\n style.styleSheet.cssText = css;\n } else {\n style.appendChild(document.createTextNode(css));\n }\n}\n\nexport default styleInject;\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","x_google_ignoreList":[0]}
@@ -5125,5 +5125,5 @@ function BordTabsGroupWithBadge({ value, defaultValue, tabs = [], textColor, onC
5125
5125
  }) }));
5126
5126
  }
5127
5127
 
5128
- export { BordAttentionButton, BordAvatar, BordBackButton, BordButton, BordFlag, BordInfoBanner, BordInfoCard, BordMetricCard, BordOneToneIcon, BordTab, BordTabBar, BordTabs, BordTabsGroupWithBadge, BordTextInput, BordTwoToneIcon };
5128
+ export { BordAttentionButton, BordAvatar, BordBackButton, BordButton, BordFlag, BordFloatDropdown, BordInfoBanner, BordInfoCard, BordMetricCard, BordOneToneIcon, BordTab, BordTabBar, BordTabs, BordTabsGroupWithBadge, BordTextInput, BordTwoToneIcon };
5129
5129
  //# sourceMappingURL=index.webpack.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bord-design-system",
3
- "version": "0.0.7",
3
+ "version": "0.0.8",
4
4
  "private": false,
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.esm.js",
@@ -27,7 +27,9 @@
27
27
  "build-storybook": "storybook build",
28
28
  "prepare": "husky"
29
29
  },
30
- "dependencies": {},
30
+ "dependencies": {
31
+ "luxon": "^3.7.2"
32
+ },
31
33
  "peerDependencies": {
32
34
  "i18next": ">=21.0.0",
33
35
  "luxon": ">=2.0.0",