Refacto Item
parent
4064c62b95
commit
ae7cded96e
|
@ -10,6 +10,7 @@ import { Trans, useTranslation } from 'react-i18next'
|
|||
import styled from 'styled-components'
|
||||
|
||||
import {
|
||||
Item,
|
||||
Radio,
|
||||
RadioCard,
|
||||
RadioCardGroup,
|
||||
|
@ -17,7 +18,7 @@ import {
|
|||
ToggleGroup,
|
||||
} from '@/design-system'
|
||||
import { Emoji } from '@/design-system/emoji'
|
||||
import { Item, Select } from '@/design-system/field/Select'
|
||||
import { Select } from '@/design-system/field/Select'
|
||||
import { Spacing } from '@/design-system/layout'
|
||||
import { Switch } from '@/design-system/switch'
|
||||
import { H3, H4 } from '@/design-system/typography/heading'
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
import { Item, Select } from '@/design-system/field/Select'
|
||||
import { Item } from '@/design-system'
|
||||
import { Select } from '@/design-system/field/Select'
|
||||
|
||||
import { InputProps } from '../RuleInput'
|
||||
|
||||
|
|
|
@ -15,8 +15,6 @@ import { omit } from '@/utils'
|
|||
import { ListBox } from './ListBox'
|
||||
import { Popover } from './PopOver'
|
||||
|
||||
export { Item } from '@react-stately/collections'
|
||||
|
||||
export const Label = styled.label`
|
||||
display: block;
|
||||
text-align: left;
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
export { Accordion } from './accordion'
|
||||
export { Item } from '@react-stately/collections'
|
||||
export * from './accordion'
|
||||
export * as button from './buttons'
|
||||
export * from './chip'
|
||||
export * from './field'
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
import { Item } from '@react-stately/collections'
|
||||
import rules, { DottedName } from 'modele-social'
|
||||
import Engine from 'publicodes'
|
||||
import { RulePage, getDocumentationSiteMap } from 'publicodes-react'
|
||||
|
@ -21,7 +20,7 @@ import { FromBottom } from '@/components/ui/animate'
|
|||
import Meta from '@/components/utils/Meta'
|
||||
import { ScrollToTop } from '@/components/utils/Scroll'
|
||||
import { Markdown } from '@/components/utils/markdown'
|
||||
import { Accordion } from '@/design-system'
|
||||
import { Accordion, Item } from '@/design-system'
|
||||
import { Button } from '@/design-system/buttons'
|
||||
import { Spacing } from '@/design-system/layout'
|
||||
import { H1, H2, H3, H4, H5 } from '@/design-system/typography/heading'
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
import { Item } from '@react-stately/collections'
|
||||
import { DottedName } from 'modele-social'
|
||||
import { RuleNode } from 'publicodes'
|
||||
import { useEffect, useState } from 'react'
|
||||
|
@ -9,7 +8,7 @@ import { Condition } from '@/components/EngineValue'
|
|||
import { FromTop } from '@/components/ui/animate'
|
||||
import { useEngine } from '@/components/utils/EngineContext'
|
||||
import { Markdown } from '@/components/utils/markdown'
|
||||
import { Accordion, Message } from '@/design-system'
|
||||
import { Accordion, Item, Message } from '@/design-system'
|
||||
import { Button } from '@/design-system/buttons'
|
||||
import { Grid, Spacing } from '@/design-system/layout'
|
||||
import { Strong } from '@/design-system/typography'
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
import { Item } from '@react-stately/collections'
|
||||
import { DottedName } from 'modele-social'
|
||||
import { formatValue } from 'publicodes'
|
||||
import { useCallback } from 'react'
|
||||
|
@ -16,7 +15,7 @@ import { RuleReferences } from '@/components/References'
|
|||
import { FromTop } from '@/components/ui/animate'
|
||||
import { useEngine } from '@/components/utils/EngineContext'
|
||||
import { Markdown } from '@/components/utils/markdown'
|
||||
import { Accordion, Message } from '@/design-system'
|
||||
import { Accordion, Item, Message } from '@/design-system'
|
||||
import { Button } from '@/design-system/buttons'
|
||||
import { Container, Grid, Spacing } from '@/design-system/layout'
|
||||
import PopoverWithTrigger from '@/design-system/popover/PopoverWithTrigger'
|
||||
|
|
|
@ -7,8 +7,9 @@ import { TrackPage } from '@/components/ATInternetTracking'
|
|||
import MoreInfosOnUs from '@/components/MoreInfosOnUs'
|
||||
import { ScrollToTop } from '@/components/utils/Scroll'
|
||||
import { Markdown } from '@/components/utils/markdown'
|
||||
import { Item } from '@/design-system'
|
||||
import { Emoji } from '@/design-system/emoji'
|
||||
import { Item, Select } from '@/design-system/field/Select'
|
||||
import { Select } from '@/design-system/field/Select'
|
||||
import { Grid } from '@/design-system/layout'
|
||||
import { H1, H2 } from '@/design-system/typography/heading'
|
||||
import { Body } from '@/design-system/typography/paragraphs'
|
||||
|
|
|
@ -7,10 +7,9 @@ import styled from 'styled-components'
|
|||
|
||||
import urssafLogo from '@/assets/images/Urssaf.svg'
|
||||
import { TrackPage } from '@/components/ATInternetTracking'
|
||||
import { PopoverWithTrigger, TextField } from '@/design-system'
|
||||
import { Item, PopoverWithTrigger, TextField } from '@/design-system'
|
||||
import { Article } from '@/design-system/card'
|
||||
import { Emoji } from '@/design-system/emoji'
|
||||
import { Item, Select } from '@/design-system/field/Select'
|
||||
import { Grid, Spacing } from '@/design-system/layout'
|
||||
import { H1, H2, H3 } from '@/design-system/typography/heading'
|
||||
import { Link } from '@/design-system/typography/link'
|
||||
|
@ -22,6 +21,7 @@ import Meta from '../../components/utils/Meta'
|
|||
import './iframe.css'
|
||||
|
||||
import { Button } from '@/design-system/buttons'
|
||||
import { Select } from '@/design-system/field/Select'
|
||||
import { useDarkMode } from '@/hooks/useDarkMode'
|
||||
|
||||
import cciLogo from './images/cci.png'
|
||||
|
|
|
@ -9,8 +9,9 @@ import { determinant, useHideNewsBanner } from '@/components/layout/NewsBanner'
|
|||
import Meta from '@/components/utils/Meta'
|
||||
import { ScrollToTop } from '@/components/utils/Scroll'
|
||||
import { MarkdownWithAnchorLinks } from '@/components/utils/markdown'
|
||||
import { Item } from '@/design-system'
|
||||
import { Emoji } from '@/design-system/emoji'
|
||||
import { Item, Select } from '@/design-system/field/Select'
|
||||
import { Select } from '@/design-system/field/Select'
|
||||
import { Container, Grid } from '@/design-system/layout'
|
||||
import { H1 } from '@/design-system/typography/heading'
|
||||
import {
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
import { Item } from '@react-stately/collections'
|
||||
import Engine from 'publicodes'
|
||||
import { Trans } from 'react-i18next'
|
||||
import styled from 'styled-components'
|
||||
|
@ -9,7 +8,7 @@ import Value, {
|
|||
WhenValueEquals,
|
||||
} from '@/components/EngineValue'
|
||||
import { ExplicableRule } from '@/components/conversation/Explicable'
|
||||
import { Accordion } from '@/design-system'
|
||||
import { Accordion, Item } from '@/design-system'
|
||||
import { Emoji } from '@/design-system/emoji'
|
||||
import { ExternalLinkIcon, PlusCircleIcon } from '@/design-system/icons'
|
||||
import { Container, Grid, Spacing } from '@/design-system/layout'
|
||||
|
|
|
@ -9,11 +9,11 @@ import { toAtString } from '@/components/ATInternetTracking'
|
|||
import PagesChart from '@/components/charts/PagesCharts'
|
||||
import FoldingMessage from '@/components/ui/FoldingMessage'
|
||||
import { useScrollToHash } from '@/components/utils/markdown'
|
||||
import { Message } from '@/design-system'
|
||||
import { Item, Message } from '@/design-system'
|
||||
import InfoBulle from '@/design-system/InfoBulle'
|
||||
import { Button } from '@/design-system/buttons'
|
||||
import { Emoji } from '@/design-system/emoji'
|
||||
import { Item, Select } from '@/design-system/field/Select'
|
||||
import { Select } from '@/design-system/field/Select'
|
||||
import { Grid, Spacing } from '@/design-system/layout'
|
||||
import { H2, H3 } from '@/design-system/typography/heading'
|
||||
import { Body, Intro } from '@/design-system/typography/paragraphs'
|
||||
|
|
Loading…
Reference in New Issue