@loja-integrada/admin-components 0.18.8 → 0.18.10

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.
@@ -7,14 +7,14 @@ declare const InformationBoxTypes: Record<InformationBoxTypesOptions, {
7
7
  icon: IconProps['icon'];
8
8
  iconClass: string;
9
9
  }>;
10
- export declare const InformationBox: React.MemoExoticComponent<({ type, subtitle, }: InformationBoxProps) => JSX.Element>;
10
+ export declare const InformationBox: React.MemoExoticComponent<({ type, subtitle, title, }: InformationBoxProps) => JSX.Element>;
11
11
  export interface InformationBoxProps {
12
12
  /** InformationBox color
13
13
  * @default info
14
14
  * */
15
15
  type?: keyof typeof InformationBoxTypes;
16
- /**
17
- * @default true
16
+ /** Title default is related with `type`
17
+ * @default ''
18
18
  */
19
19
  title?: string | React.ReactNode;
20
20
  /**
@@ -1,5 +1,6 @@
1
1
  import React from 'react';
2
2
  import { TippyProps } from '@tippyjs/react';
3
+ import './style.scss';
3
4
  export declare const Tooltip: React.MemoExoticComponent<(props: TooltipProps) => JSX.Element>;
4
5
  export interface TooltipProps extends TippyProps {
5
6
  /** Tooltip append
@@ -31,6 +32,7 @@ export interface TooltipProps extends TippyProps {
31
32
  * */
32
33
  interactive?: TippyProps['interactive'];
33
34
  /** Tooltip theme
35
+ * @deprecated Not implemented
34
36
  * @default dark
35
37
  * */
36
38
  theme?: 'light' | 'dark';
@@ -0,0 +1 @@
1
+ .tippy-box{--bg-color:rgb(var(--color-inverted-1)/100);background-color:var(--bg-color);border-radius:3px;color:rgb(var(--color-base-1)/100);font-size:12px;letter-spacing:-.4px;line-height:1.4;outline:0;position:relative;transition-property:transform,visibility,opacity}.tippy-box[data-animation=fade][data-state=hidden]{opacity:0}.tippy-box [data-tippy-root]{max-width:calc(100vw - 10px)}.tippy-box[data-placement^=top]>.tippy-arrow{bottom:0}.tippy-box[data-placement^=top]>.tippy-arrow:before{border-top-color:initial;border-width:8px 8px 0;bottom:-7px;left:0;transform-origin:center top}.tippy-box[data-placement^=bottom]>.tippy-arrow{top:0}.tippy-box[data-placement^=bottom]>.tippy-arrow:before{border-bottom-color:initial;border-width:0 8px 8px;left:0;top:-7px;transform-origin:center bottom}.tippy-box[data-placement^=left]>.tippy-arrow{right:0}.tippy-box[data-placement^=left]>.tippy-arrow:before{border-left-color:initial;border-width:8px 0 8px 8px;right:-7px;transform-origin:center left}.tippy-box[data-placement^=right]>.tippy-arrow{left:0}.tippy-box[data-placement^=right]>.tippy-arrow:before{border-right-color:initial;border-width:8px 8px 8px 0;left:-7px;transform-origin:center right}.tippy-box[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.54,1.5,.38,1.11)}.tippy-box .tippy-arrow{color:var(--bg-color);height:15px;width:15px}.tippy-box .tippy-arrow:before{border-color:transparent;border-style:solid;content:"";position:absolute}.tippy-box .tippy-content{padding:12px 8px;position:relative;z-index:1}