@ttoss/theme 1.4.38 → 1.5.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.
@@ -42,9 +42,9 @@ var require_loading = __commonJS({
42
42
  }
43
43
  });
44
44
 
45
- // ../../node_modules/.pnpm/@iconify+icons-mdi@1.2.44/node_modules/@iconify/icons-mdi/success-circle.js
45
+ // ../../node_modules/.pnpm/@iconify+icons-mdi@1.2.46/node_modules/@iconify/icons-mdi/success-circle.js
46
46
  var require_success_circle = __commonJS({
47
- "../../node_modules/.pnpm/@iconify+icons-mdi@1.2.44/node_modules/@iconify/icons-mdi/success-circle.js"(exports) {
47
+ "../../node_modules/.pnpm/@iconify+icons-mdi@1.2.46/node_modules/@iconify/icons-mdi/success-circle.js"(exports) {
48
48
  var data = {
49
49
  "width": 24,
50
50
  "height": 24,
@@ -248,6 +248,99 @@ var space = {
248
248
  "7xl": calcMultiplyingValues(MD, MULTIPLIER_FACTOR2, 8)
249
249
  };
250
250
 
251
+ // src/tokens/zIndices.ts
252
+ var zIndices = {
253
+ deep: -9999,
254
+ behind: -1,
255
+ auto: "auto",
256
+ base: 0,
257
+ docked: 10,
258
+ /**
259
+ * Sticky is a CSS property that can be applied to an element to make it
260
+ * "stick" or remain fixed in a specific position relative to the viewport
261
+ * as the user scrolls the page. When an element is set as sticky, it will
262
+ * initially behave like a normal element but once the user scrolls past a
263
+ * certain threshold, it will stick to the designated position.
264
+ */
265
+ sticky: 100,
266
+ /**
267
+ * An overlay is a graphical element used in user interfaces to cover or
268
+ * partially obscure the underlying content. It is typically a
269
+ * semi-transparent or opaque layer that is positioned above other elements
270
+ * on the screen. Overlays are commonly employed to provide visual effects,
271
+ * create modal or pop-up dialogs, highlight or focus user attention, or
272
+ * serve as a background for elements such as tooltips, modals, or dropdown
273
+ * menus. They are often used to add depth, dimension, and visual hierarchy
274
+ * to the interface by visually separating or layering content.
275
+ */
276
+ overlay: 1e3,
277
+ /**
278
+ * A modal is a user interface component that appears as a dialog or window
279
+ * overlay on top of the main content, temporarily interrupting the user's
280
+ * interaction flow. It is commonly used to display additional information,
281
+ * request user input, or confirm an action. Modals typically have a higher
282
+ * z-index value than other elements on the page to ensure they are visually
283
+ * prominent and receive the user's full attention. They often feature a
284
+ * close button or an overlay click outside the modal to dismiss them and
285
+ * return to the underlying content. Modals help to focus user attention and
286
+ * provide a context-specific interaction within a larger interface.
287
+ */
288
+ modal: 2e3,
289
+ /**
290
+ * A dropdown is a user interface component that presents a list of
291
+ * selectable options when triggered by a user action, such as clicking on a
292
+ * dropdown button or input field. When activated, a dropdown expands
293
+ * vertically to reveal a list of choices, allowing the user to select a
294
+ * single option. The selected option is then displayed in the closed state
295
+ * of the dropdown. Dropdowns are commonly used to conserve space on a page
296
+ * or provide a convenient way to choose from a predefined set of options.
297
+ * They can be found in various contexts, such as navigation menus, form
298
+ * inputs, or filter controls. Dropdowns enhance user interaction by
299
+ * providing a compact and organized selection mechanism within the interface.
300
+ */
301
+ dropdown: 3e3,
302
+ /**
303
+ * A popover is a user interface component that provides contextual
304
+ * information or options when triggered by a user action, such as hovering
305
+ * over an element or clicking a button. It typically appears as a small
306
+ * overlay near the triggering element, offering additional details, actions,
307
+ * or related content. Popovers are designed to be non-intrusive and provide
308
+ * concise information or quick actions without requiring the user to
309
+ * navigate to a different page or screen. They are often used to enhance the
310
+ * user's understanding or provide supplementary functionality within a
311
+ * specific context. Popovers are commonly positioned above other elements in
312
+ * the interface to ensure visibility and accessibility.
313
+ */
314
+ popover: 4e3,
315
+ /**
316
+ * A tooltip is a small, informative message or hint that appears when a user
317
+ * hovers over or interacts with an element, such as a button, link, or icon.
318
+ * It is typically displayed as a brief, contextual text or label that
319
+ * provides additional information or clarifies the purpose of the element.
320
+ * Tooltips are used to improve the user's understanding of interface
321
+ * elements and enhance usability. They are generally positioned near the
322
+ * associated element, often appearing as a small box or bubble that pops up
323
+ * temporarily and disappears when the user moves the cursor away from the
324
+ * element. Tooltips are designed to be unobtrusive and provide helpful
325
+ * guidance or supplementary details without requiring the user to take any
326
+ * additional actions.
327
+ */
328
+ tooltip: 5e3,
329
+ /**
330
+ * A toast is a brief, temporary notification or message that appears on the
331
+ * screen to provide important information or alerts to the user. It
332
+ * typically appears as a small box or banner positioned in a non-intrusive
333
+ * area of the interface, such as the top or bottom of the screen. Toasts are
334
+ * used to communicate updates, notifications, or status messages that may
335
+ * require the user's attention but do not require immediate action. They are
336
+ * designed to be unobtrusive and automatically disappear after a short
337
+ * period, often with a fade-out animation. Toasts are commonly used in web
338
+ * and mobile applications to provide timely feedback or inform the user
339
+ * about completed actions, errors, or system updates.
340
+ */
341
+ toast: 6e3
342
+ };
343
+
251
344
  // src/themes/Bruttal/BruttalTheme.ts
252
345
  var coreFonts = {
253
346
  main: '"Atkinson Hyperlegible", sans-serif',
@@ -310,6 +403,7 @@ var BruttalTheme = {
310
403
  letterSpacings,
311
404
  space,
312
405
  lineHeights,
406
+ zIndices,
313
407
  colors: {
314
408
  background: coreColors.complimentary,
315
409
  text: coreColors.black,
@@ -371,6 +465,7 @@ var BruttalTheme = {
371
465
  fontFamily: "body",
372
466
  fontWeight: "normal",
373
467
  fontSize: "base",
468
+ zIndex: "base",
374
469
  margin: 0,
375
470
  padding: 0,
376
471
  backgroundColor: "background",
package/dist/esm/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /** Powered by @ttoss/config. https://ttoss.dev/docs/modules/packages/config/ */
2
- import { BruttalTheme } from "./chunk-WAU2QT6N.js";
2
+ import { BruttalTheme } from "./chunk-QACY2ERT.js";
3
3
 
4
4
  // src/createTheme.ts
5
5
  import deepmerge from "deepmerge";
@@ -1,3 +1,3 @@
1
1
  /** Powered by @ttoss/config. https://ttoss.dev/docs/modules/packages/config/ */
2
- import { BruttalFonts, BruttalTheme } from "../../chunk-WAU2QT6N.js";
2
+ import { BruttalFonts, BruttalTheme } from "../../chunk-QACY2ERT.js";
3
3
  export { BruttalFonts, BruttalTheme };
package/dist/index.js CHANGED
@@ -53,9 +53,9 @@ var require_loading = __commonJS({
53
53
  }
54
54
  });
55
55
 
56
- // ../../node_modules/.pnpm/@iconify+icons-mdi@1.2.44/node_modules/@iconify/icons-mdi/success-circle.js
56
+ // ../../node_modules/.pnpm/@iconify+icons-mdi@1.2.46/node_modules/@iconify/icons-mdi/success-circle.js
57
57
  var require_success_circle = __commonJS({
58
- "../../node_modules/.pnpm/@iconify+icons-mdi@1.2.44/node_modules/@iconify/icons-mdi/success-circle.js"(exports) {
58
+ "../../node_modules/.pnpm/@iconify+icons-mdi@1.2.46/node_modules/@iconify/icons-mdi/success-circle.js"(exports) {
59
59
  var data = {
60
60
  "width": 24,
61
61
  "height": 24,
@@ -263,6 +263,99 @@ var space = {
263
263
  "7xl": calcMultiplyingValues(MD, MULTIPLIER_FACTOR2, 8)
264
264
  };
265
265
 
266
+ // src/tokens/zIndices.ts
267
+ var zIndices = {
268
+ deep: -9999,
269
+ behind: -1,
270
+ auto: "auto",
271
+ base: 0,
272
+ docked: 10,
273
+ /**
274
+ * Sticky is a CSS property that can be applied to an element to make it
275
+ * "stick" or remain fixed in a specific position relative to the viewport
276
+ * as the user scrolls the page. When an element is set as sticky, it will
277
+ * initially behave like a normal element but once the user scrolls past a
278
+ * certain threshold, it will stick to the designated position.
279
+ */
280
+ sticky: 100,
281
+ /**
282
+ * An overlay is a graphical element used in user interfaces to cover or
283
+ * partially obscure the underlying content. It is typically a
284
+ * semi-transparent or opaque layer that is positioned above other elements
285
+ * on the screen. Overlays are commonly employed to provide visual effects,
286
+ * create modal or pop-up dialogs, highlight or focus user attention, or
287
+ * serve as a background for elements such as tooltips, modals, or dropdown
288
+ * menus. They are often used to add depth, dimension, and visual hierarchy
289
+ * to the interface by visually separating or layering content.
290
+ */
291
+ overlay: 1e3,
292
+ /**
293
+ * A modal is a user interface component that appears as a dialog or window
294
+ * overlay on top of the main content, temporarily interrupting the user's
295
+ * interaction flow. It is commonly used to display additional information,
296
+ * request user input, or confirm an action. Modals typically have a higher
297
+ * z-index value than other elements on the page to ensure they are visually
298
+ * prominent and receive the user's full attention. They often feature a
299
+ * close button or an overlay click outside the modal to dismiss them and
300
+ * return to the underlying content. Modals help to focus user attention and
301
+ * provide a context-specific interaction within a larger interface.
302
+ */
303
+ modal: 2e3,
304
+ /**
305
+ * A dropdown is a user interface component that presents a list of
306
+ * selectable options when triggered by a user action, such as clicking on a
307
+ * dropdown button or input field. When activated, a dropdown expands
308
+ * vertically to reveal a list of choices, allowing the user to select a
309
+ * single option. The selected option is then displayed in the closed state
310
+ * of the dropdown. Dropdowns are commonly used to conserve space on a page
311
+ * or provide a convenient way to choose from a predefined set of options.
312
+ * They can be found in various contexts, such as navigation menus, form
313
+ * inputs, or filter controls. Dropdowns enhance user interaction by
314
+ * providing a compact and organized selection mechanism within the interface.
315
+ */
316
+ dropdown: 3e3,
317
+ /**
318
+ * A popover is a user interface component that provides contextual
319
+ * information or options when triggered by a user action, such as hovering
320
+ * over an element or clicking a button. It typically appears as a small
321
+ * overlay near the triggering element, offering additional details, actions,
322
+ * or related content. Popovers are designed to be non-intrusive and provide
323
+ * concise information or quick actions without requiring the user to
324
+ * navigate to a different page or screen. They are often used to enhance the
325
+ * user's understanding or provide supplementary functionality within a
326
+ * specific context. Popovers are commonly positioned above other elements in
327
+ * the interface to ensure visibility and accessibility.
328
+ */
329
+ popover: 4e3,
330
+ /**
331
+ * A tooltip is a small, informative message or hint that appears when a user
332
+ * hovers over or interacts with an element, such as a button, link, or icon.
333
+ * It is typically displayed as a brief, contextual text or label that
334
+ * provides additional information or clarifies the purpose of the element.
335
+ * Tooltips are used to improve the user's understanding of interface
336
+ * elements and enhance usability. They are generally positioned near the
337
+ * associated element, often appearing as a small box or bubble that pops up
338
+ * temporarily and disappears when the user moves the cursor away from the
339
+ * element. Tooltips are designed to be unobtrusive and provide helpful
340
+ * guidance or supplementary details without requiring the user to take any
341
+ * additional actions.
342
+ */
343
+ tooltip: 5e3,
344
+ /**
345
+ * A toast is a brief, temporary notification or message that appears on the
346
+ * screen to provide important information or alerts to the user. It
347
+ * typically appears as a small box or banner positioned in a non-intrusive
348
+ * area of the interface, such as the top or bottom of the screen. Toasts are
349
+ * used to communicate updates, notifications, or status messages that may
350
+ * require the user's attention but do not require immediate action. They are
351
+ * designed to be unobtrusive and automatically disappear after a short
352
+ * period, often with a fade-out animation. Toasts are commonly used in web
353
+ * and mobile applications to provide timely feedback or inform the user
354
+ * about completed actions, errors, or system updates.
355
+ */
356
+ toast: 6e3
357
+ };
358
+
266
359
  // src/themes/Bruttal/BruttalTheme.ts
267
360
  var coreFonts = {
268
361
  main: '"Atkinson Hyperlegible", sans-serif',
@@ -325,6 +418,7 @@ var BruttalTheme = {
325
418
  letterSpacings,
326
419
  space,
327
420
  lineHeights,
421
+ zIndices,
328
422
  colors: {
329
423
  background: coreColors.complimentary,
330
424
  text: coreColors.black,
@@ -386,6 +480,7 @@ var BruttalTheme = {
386
480
  fontFamily: "body",
387
481
  fontWeight: "normal",
388
482
  fontSize: "base",
483
+ zIndex: "base",
389
484
  margin: 0,
390
485
  padding: 0,
391
486
  backgroundColor: "background",
@@ -53,9 +53,9 @@ var require_loading = __commonJS({
53
53
  }
54
54
  });
55
55
 
56
- // ../../node_modules/.pnpm/@iconify+icons-mdi@1.2.44/node_modules/@iconify/icons-mdi/success-circle.js
56
+ // ../../node_modules/.pnpm/@iconify+icons-mdi@1.2.46/node_modules/@iconify/icons-mdi/success-circle.js
57
57
  var require_success_circle = __commonJS({
58
- "../../node_modules/.pnpm/@iconify+icons-mdi@1.2.44/node_modules/@iconify/icons-mdi/success-circle.js"(exports) {
58
+ "../../node_modules/.pnpm/@iconify+icons-mdi@1.2.46/node_modules/@iconify/icons-mdi/success-circle.js"(exports) {
59
59
  var data = {
60
60
  "width": 24,
61
61
  "height": 24,
@@ -267,6 +267,99 @@ var space = {
267
267
  "7xl": calcMultiplyingValues(MD, MULTIPLIER_FACTOR2, 8)
268
268
  };
269
269
 
270
+ // src/tokens/zIndices.ts
271
+ var zIndices = {
272
+ deep: -9999,
273
+ behind: -1,
274
+ auto: "auto",
275
+ base: 0,
276
+ docked: 10,
277
+ /**
278
+ * Sticky is a CSS property that can be applied to an element to make it
279
+ * "stick" or remain fixed in a specific position relative to the viewport
280
+ * as the user scrolls the page. When an element is set as sticky, it will
281
+ * initially behave like a normal element but once the user scrolls past a
282
+ * certain threshold, it will stick to the designated position.
283
+ */
284
+ sticky: 100,
285
+ /**
286
+ * An overlay is a graphical element used in user interfaces to cover or
287
+ * partially obscure the underlying content. It is typically a
288
+ * semi-transparent or opaque layer that is positioned above other elements
289
+ * on the screen. Overlays are commonly employed to provide visual effects,
290
+ * create modal or pop-up dialogs, highlight or focus user attention, or
291
+ * serve as a background for elements such as tooltips, modals, or dropdown
292
+ * menus. They are often used to add depth, dimension, and visual hierarchy
293
+ * to the interface by visually separating or layering content.
294
+ */
295
+ overlay: 1e3,
296
+ /**
297
+ * A modal is a user interface component that appears as a dialog or window
298
+ * overlay on top of the main content, temporarily interrupting the user's
299
+ * interaction flow. It is commonly used to display additional information,
300
+ * request user input, or confirm an action. Modals typically have a higher
301
+ * z-index value than other elements on the page to ensure they are visually
302
+ * prominent and receive the user's full attention. They often feature a
303
+ * close button or an overlay click outside the modal to dismiss them and
304
+ * return to the underlying content. Modals help to focus user attention and
305
+ * provide a context-specific interaction within a larger interface.
306
+ */
307
+ modal: 2e3,
308
+ /**
309
+ * A dropdown is a user interface component that presents a list of
310
+ * selectable options when triggered by a user action, such as clicking on a
311
+ * dropdown button or input field. When activated, a dropdown expands
312
+ * vertically to reveal a list of choices, allowing the user to select a
313
+ * single option. The selected option is then displayed in the closed state
314
+ * of the dropdown. Dropdowns are commonly used to conserve space on a page
315
+ * or provide a convenient way to choose from a predefined set of options.
316
+ * They can be found in various contexts, such as navigation menus, form
317
+ * inputs, or filter controls. Dropdowns enhance user interaction by
318
+ * providing a compact and organized selection mechanism within the interface.
319
+ */
320
+ dropdown: 3e3,
321
+ /**
322
+ * A popover is a user interface component that provides contextual
323
+ * information or options when triggered by a user action, such as hovering
324
+ * over an element or clicking a button. It typically appears as a small
325
+ * overlay near the triggering element, offering additional details, actions,
326
+ * or related content. Popovers are designed to be non-intrusive and provide
327
+ * concise information or quick actions without requiring the user to
328
+ * navigate to a different page or screen. They are often used to enhance the
329
+ * user's understanding or provide supplementary functionality within a
330
+ * specific context. Popovers are commonly positioned above other elements in
331
+ * the interface to ensure visibility and accessibility.
332
+ */
333
+ popover: 4e3,
334
+ /**
335
+ * A tooltip is a small, informative message or hint that appears when a user
336
+ * hovers over or interacts with an element, such as a button, link, or icon.
337
+ * It is typically displayed as a brief, contextual text or label that
338
+ * provides additional information or clarifies the purpose of the element.
339
+ * Tooltips are used to improve the user's understanding of interface
340
+ * elements and enhance usability. They are generally positioned near the
341
+ * associated element, often appearing as a small box or bubble that pops up
342
+ * temporarily and disappears when the user moves the cursor away from the
343
+ * element. Tooltips are designed to be unobtrusive and provide helpful
344
+ * guidance or supplementary details without requiring the user to take any
345
+ * additional actions.
346
+ */
347
+ tooltip: 5e3,
348
+ /**
349
+ * A toast is a brief, temporary notification or message that appears on the
350
+ * screen to provide important information or alerts to the user. It
351
+ * typically appears as a small box or banner positioned in a non-intrusive
352
+ * area of the interface, such as the top or bottom of the screen. Toasts are
353
+ * used to communicate updates, notifications, or status messages that may
354
+ * require the user's attention but do not require immediate action. They are
355
+ * designed to be unobtrusive and automatically disappear after a short
356
+ * period, often with a fade-out animation. Toasts are commonly used in web
357
+ * and mobile applications to provide timely feedback or inform the user
358
+ * about completed actions, errors, or system updates.
359
+ */
360
+ toast: 6e3
361
+ };
362
+
270
363
  // src/themes/Bruttal/BruttalTheme.ts
271
364
  var coreFonts = {
272
365
  main: '"Atkinson Hyperlegible", sans-serif',
@@ -329,6 +422,7 @@ var BruttalTheme = {
329
422
  letterSpacings,
330
423
  space,
331
424
  lineHeights,
425
+ zIndices,
332
426
  colors: {
333
427
  background: coreColors.complimentary,
334
428
  text: coreColors.black,
@@ -390,6 +484,7 @@ var BruttalTheme = {
390
484
  fontFamily: "body",
391
485
  fontWeight: "normal",
392
486
  fontSize: "base",
487
+ zIndex: "base",
393
488
  margin: 0,
394
489
  padding: 0,
395
490
  backgroundColor: "background",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ttoss/theme",
3
- "version": "1.4.38",
3
+ "version": "1.5.0",
4
4
  "description": "Theme for packages.",
5
5
  "license": "UNLICENSED",
6
6
  "author": "ttoss",
@@ -28,18 +28,18 @@
28
28
  "typings": "dist/index.d.ts",
29
29
  "dependencies": {
30
30
  "@iconify-icon/react": "^1.0.7",
31
- "@iconify/icons-carbon": "^1.2.16",
31
+ "@iconify/icons-carbon": "^1.2.17",
32
32
  "deepmerge": "^4.3.1"
33
33
  },
34
34
  "devDependencies": {
35
35
  "@iconify/icons-eos-icons": "^1.2.6",
36
- "@iconify/icons-mdi": "^1.2.44",
36
+ "@iconify/icons-mdi": "^1.2.46",
37
37
  "@iconify/types": "^2.0.0",
38
38
  "jest": "^29.5.0",
39
39
  "theme-ui": "^0.15.7",
40
40
  "tsup": "^6.7.0",
41
- "@ttoss/config": "^1.30.0",
42
- "@ttoss/test-utils": "^1.23.1"
41
+ "@ttoss/config": "^1.30.1",
42
+ "@ttoss/test-utils": "^1.23.2"
43
43
  },
44
44
  "keywords": [],
45
45
  "publishConfig": {
@@ -4,6 +4,7 @@ import { fontWeights } from '../../tokens/fontWeights';
4
4
  import { letterSpacings } from '../../tokens/letterSpacings';
5
5
  import { lineHeights } from '../../tokens/lineHeights';
6
6
  import { space } from '../../tokens/space';
7
+ import { zIndices } from '../../tokens/zIndices';
7
8
 
8
9
  const coreFonts = {
9
10
  main: '"Atkinson Hyperlegible", sans-serif',
@@ -71,6 +72,7 @@ export const BruttalTheme: Theme = {
71
72
  letterSpacings,
72
73
  space,
73
74
  lineHeights,
75
+ zIndices,
74
76
  colors: {
75
77
  background: coreColors.complimentary,
76
78
  text: coreColors.black,
@@ -132,6 +134,7 @@ export const BruttalTheme: Theme = {
132
134
  fontFamily: 'body',
133
135
  fontWeight: 'normal',
134
136
  fontSize: 'base',
137
+ zIndex: 'base',
135
138
  margin: 0,
136
139
  padding: 0,
137
140
  backgroundColor: 'background',
@@ -0,0 +1,91 @@
1
+ export const zIndices = {
2
+ deep: -9999,
3
+ behind: -1,
4
+ auto: 'auto',
5
+ base: 0,
6
+ docked: 10,
7
+ /**
8
+ * Sticky is a CSS property that can be applied to an element to make it
9
+ * "stick" or remain fixed in a specific position relative to the viewport
10
+ * as the user scrolls the page. When an element is set as sticky, it will
11
+ * initially behave like a normal element but once the user scrolls past a
12
+ * certain threshold, it will stick to the designated position.
13
+ */
14
+ sticky: 100,
15
+ /**
16
+ * An overlay is a graphical element used in user interfaces to cover or
17
+ * partially obscure the underlying content. It is typically a
18
+ * semi-transparent or opaque layer that is positioned above other elements
19
+ * on the screen. Overlays are commonly employed to provide visual effects,
20
+ * create modal or pop-up dialogs, highlight or focus user attention, or
21
+ * serve as a background for elements such as tooltips, modals, or dropdown
22
+ * menus. They are often used to add depth, dimension, and visual hierarchy
23
+ * to the interface by visually separating or layering content.
24
+ */
25
+ overlay: 1000,
26
+ /**
27
+ * A modal is a user interface component that appears as a dialog or window
28
+ * overlay on top of the main content, temporarily interrupting the user's
29
+ * interaction flow. It is commonly used to display additional information,
30
+ * request user input, or confirm an action. Modals typically have a higher
31
+ * z-index value than other elements on the page to ensure they are visually
32
+ * prominent and receive the user's full attention. They often feature a
33
+ * close button or an overlay click outside the modal to dismiss them and
34
+ * return to the underlying content. Modals help to focus user attention and
35
+ * provide a context-specific interaction within a larger interface.
36
+ */
37
+ modal: 2000,
38
+ /**
39
+ * A dropdown is a user interface component that presents a list of
40
+ * selectable options when triggered by a user action, such as clicking on a
41
+ * dropdown button or input field. When activated, a dropdown expands
42
+ * vertically to reveal a list of choices, allowing the user to select a
43
+ * single option. The selected option is then displayed in the closed state
44
+ * of the dropdown. Dropdowns are commonly used to conserve space on a page
45
+ * or provide a convenient way to choose from a predefined set of options.
46
+ * They can be found in various contexts, such as navigation menus, form
47
+ * inputs, or filter controls. Dropdowns enhance user interaction by
48
+ * providing a compact and organized selection mechanism within the interface.
49
+ */
50
+ dropdown: 3000,
51
+ /**
52
+ * A popover is a user interface component that provides contextual
53
+ * information or options when triggered by a user action, such as hovering
54
+ * over an element or clicking a button. It typically appears as a small
55
+ * overlay near the triggering element, offering additional details, actions,
56
+ * or related content. Popovers are designed to be non-intrusive and provide
57
+ * concise information or quick actions without requiring the user to
58
+ * navigate to a different page or screen. They are often used to enhance the
59
+ * user's understanding or provide supplementary functionality within a
60
+ * specific context. Popovers are commonly positioned above other elements in
61
+ * the interface to ensure visibility and accessibility.
62
+ */
63
+ popover: 4000,
64
+ /**
65
+ * A tooltip is a small, informative message or hint that appears when a user
66
+ * hovers over or interacts with an element, such as a button, link, or icon.
67
+ * It is typically displayed as a brief, contextual text or label that
68
+ * provides additional information or clarifies the purpose of the element.
69
+ * Tooltips are used to improve the user's understanding of interface
70
+ * elements and enhance usability. They are generally positioned near the
71
+ * associated element, often appearing as a small box or bubble that pops up
72
+ * temporarily and disappears when the user moves the cursor away from the
73
+ * element. Tooltips are designed to be unobtrusive and provide helpful
74
+ * guidance or supplementary details without requiring the user to take any
75
+ * additional actions.
76
+ */
77
+ tooltip: 5000,
78
+ /**
79
+ * A toast is a brief, temporary notification or message that appears on the
80
+ * screen to provide important information or alerts to the user. It
81
+ * typically appears as a small box or banner positioned in a non-intrusive
82
+ * area of the interface, such as the top or bottom of the screen. Toasts are
83
+ * used to communicate updates, notifications, or status messages that may
84
+ * require the user's attention but do not require immediate action. They are
85
+ * designed to be unobtrusive and automatically disappear after a short
86
+ * period, often with a fade-out animation. Toasts are commonly used in web
87
+ * and mobile applications to provide timely feedback or inform the user
88
+ * about completed actions, errors, or system updates.
89
+ */
90
+ toast: 6000,
91
+ };