261117_01_ENH: KriColorPalette를 KriUiRegistry(kri-color-palette) 설치본으로 교체
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -4,11 +4,11 @@ import { useState, type CSSProperties, type KeyboardEvent } from 'react'
|
||||
import { Check } from 'lucide-react'
|
||||
import { Slider as SliderPrimitive } from 'radix-ui'
|
||||
import { Button } from '@/components/ui/button'
|
||||
import { ColorPicker, ColorPickerArea, ColorPickerHueSlider } from '@/components/ui/color-picker'
|
||||
import { ColorPicker, ColorPickerArea, ColorPickerHueSlider } from '@/components/common/color-palette/color-picker'
|
||||
import { Input } from '@/components/ui/input'
|
||||
import { Popover, PopoverContent, PopoverTrigger } from '@/components/ui/popover'
|
||||
import { cn } from '@/lib/utils'
|
||||
import { formatHexColor, isLightHexColor, normalizeHexColor, parseHexColor } from '@/utils/color'
|
||||
import { formatHexColor, isLightHexColor, normalizeHexColor, parseHexColor } from '@/components/common/color-palette/color'
|
||||
|
||||
export const KRI_COLOR_PALETTE_DEFAULT_COLORS = [
|
||||
'#111827', '#4B5563', '#9CA3AF', '#E5E7EB', '#EF4444', '#F97316', '#F59E0B', '#EAB308',
|
||||
|
||||
@@ -13,9 +13,9 @@ import {
|
||||
import { useComposedRefs, useLayoutEffect } from "radix-ui/internal";
|
||||
import * as React from "react";
|
||||
|
||||
import { VisuallyHiddenInput } from "@/components/visually-hidden-input";
|
||||
import { useRefWithInit } from "@/hooks/use-ref-with-init";
|
||||
import { useValueAsRef } from "@/hooks/use-value-as-ref";
|
||||
import { VisuallyHiddenInput } from "./visually-hidden-input";
|
||||
import { useRefWithInit } from "./use-ref-with-init";
|
||||
import { useValueAsRef } from "./use-value-as-ref";
|
||||
import { Button } from "@/components/ui/button";
|
||||
import { Input } from "@/components/ui/input";
|
||||
import {
|
||||
@@ -17,7 +17,7 @@ import { formatKst } from '@kri/common'
|
||||
import { isListFieldEditableForContact, isListFieldVisibleForContact } from '@/utils/listAccess'
|
||||
import { substituteVariables } from '@/lib/variableSubstitution'
|
||||
import { formatKoreanPhoneNumber } from '@/utils/phone'
|
||||
import { isLightHexColor, normalizeHexColor } from '@/utils/color'
|
||||
import { isLightHexColor, normalizeHexColor } from '@/components/common/color-palette/color'
|
||||
import SurveyQrDialog from '@/components/dialog/SurveyQrDialog'
|
||||
import SingleMessageSendDialog from '@/components/dialog/SingleMessageSendDialog'
|
||||
import { ctiClient } from '@/lib/cti/ctiClient'
|
||||
|
||||
Reference in New Issue
Block a user